Hi, when translating a node with a lightbox image, the correct download link is not generated.
Let's say I have a an image located here:
base_url/image_dir/image.jpg
When I view the node in a translation, this type of link is generated in the lightbox:
base_url/lang_code/image_dir/image.jpg
The languagecode should not be inserted, since it's the same image used for all translations.
I am using imagefield with imagecache. If in CCK "display fields" settings, I choose "[imagecache_preset] linked to image", the file path is generated correctly in all language versions, so I guess it is related to Lightbox code. I tried looking in the module code, but I am no PHP expert, so I don't understand what the possible cause might be.
Comments
Comment #1
stella commentedThis has been fixed as part of another issue.
Comment #3
ayalsule commentedI solved this by add t() function here: