Download & Extend

Link to image containing language on multi language site

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.

AttachmentSize
file_create_url.patch2.59 KB

Comments

#1

This patch works only for the first image..
All other images have still the language paths..

#2

Status:active» fixed

Fixed in 6.x-1.5

#3

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.