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
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
#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
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
Automatically closed -- issue fixed for 2 weeks with no activity.