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

AttachmentSize
file_create_url.patch2.59 KB

#1

Breakerandi - July 6, 2009 - 15:43

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

#2

ComputerWolf - August 31, 2009 - 11:31
Status:active» fixed

Fixed in 6.x-1.5

#3

System Message - September 14, 2009 - 11:40
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.