Posted by traeumerle on April 23, 2009 at 9:03pm
Jump to:
| Project: | Simple Gallery |
| Version: | 6.x-1.4 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
| Issue tags: | filepath, file_create_url |
Issue Summary
When using Simple Gallery on a multi language site the links to the image files are containing the language string for example:
/de/sites/default/files/galery/photo7.jpg
This leads into a 404 when trying to view the image.
Passing the filepath through file_create_url resolves the issue.
| Attachment | Size |
|---|---|
| file_create_url.patch | 2.59 KB |
Comments
#1
This patch works only for the first image..
All other images have still the language paths..
#2
Fixed in 6.x-1.5
#3
Automatically closed -- issue fixed for 2 weeks with no activity.