Closed (duplicate)
Project:
Insert
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Jan 2012 at 14:32 UTC
Updated:
6 Sep 2012 at 09:02 UTC
When using relative paths and Drupals private filesystem Insert generates relative URLs which point to "sites/default/files" instead of "system/files". This results in broken images.
I think the problem is in the theming funktion "template_preprocess_imagecache_insert_image" in "includes/imagecache.inc". Attached you find a small patch which solved the problem for me. Maybe someone can review the patch if there are any side effects.
Regards, Tim
| Comment | File | Size | Author |
|---|---|---|---|
| insert-privatefs-with-rel-links.diff | 778 bytes | acidtalks |
Comments
Comment #1
quicksketchThis has been fixed in #1717508: Incorrect file path generated when "insert_absolute_paths" set to FALSE when working with imagecache module.