Link to image containing language on multi language site
traeumerle - April 23, 2009 - 21:03
| Project: | Simple Gallery |
| Version: | 6.x-1.4 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
| Issue tags: | filepath, file_create_url |
Jump to:
Description
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 |

#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.