link to display original image doesn't work with path prefix on i18n

ermannob - June 19, 2009 - 09:13
Project:Lightbox2
Version:6.x-1.9
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hi,
when I activate i18n module with Language negotiation: Path prefix only / Path prefix with language fallback... the link to download the original image goes to 404, because it includes the language prefix. The language prefix should be stripped from the URL.

#1

rjb - July 4, 2009 - 21:28
Status:active» needs review

I have exactly the same problem. Here is a patch. I inserted a call to file_create_url() in lightbox2.formatter.inc. This works for me. Hope this helps.

Cheers,
Ronald

AttachmentSize
patch.txt 676 bytes

#2

ermannob - July 7, 2009 - 16:45

Yes, it works!

Thanks Ronald.

#3

2noame - September 10, 2009 - 20:32

I don't know how to make this txt patch work. Could you please make this into an actual patch so it can be committed to dev?

#4

stella - September 13, 2009 - 23:06
Status:needs review» fixed

This was fixed as part of #569936: Download Original Link fix for private download method and will be available in the dev version of the module later today.

#5

System Message - September 27, 2009 - 23:10
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.