Download & Extend

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

Project:Lightbox2
Version:6.x-1.9
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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.

Comments

#1

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

Yes, it works!

Thanks Ronald.

#3

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

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

Status:fixed» closed (fixed)

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

#6

I am having the same problem.
I applied the changes but my pictures links are still appended with the language prefix. So i cant see the slideshow.
Any suggestions
Thanks

nobody click here