Closed (fixed)
Project:
Lightbox2
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Jan 2009 at 16:25 UTC
Updated:
27 Sep 2009 at 23:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
stella commentedCan you provide a link to your site?
Cheers,
Stella
Comment #2
stella commentedMarking as "won't fix" because no more information forthcoming. Please feel free to reopen if you can provide more info.
Cheers,
Stella
Comment #3
stanley78 commentedwell, i get the same behavior at http://stas-arkhipov.info
view details works well, but download entire image produces link to null.
Comment #4
stella commented@stanley78 - I'd like to help but I don't understand the language on your site :) Can you point me at the exact page where the problem appears and give me details on how to reproduce it?
Cheers,
Stella
Comment #5
sbassett commented@stella - I am having the same problem on my site (links to site/null when attempting to download original). I have included a link below to the third page in my gallery that contains one picture. Click the thumbnail open the preview in a lightbox2 frame as expected, but the download original link links directly to null. Please let me know if there is any additional info I can give relating to this matter.
Thank you.
Link: http://games.simonbassett.org/index.php?q=gallery&g2_itemId=99&g2_page=3
Comment #6
stanley78 commentedstella, sorry for a late answer
1. go to stas-arkhipov.info
2. click on any photo thumbnail below the header
3. check the 'download original' link. perhaps you'll see /admin/settings/lightbox2/null
Comment #7
stella commented@stanley78: looks like you have the download original feature disabled, or it's just not visible to anonymous users.
However, I managed to reproduce the issue on @sbassett's site and after some investigation, I think it just isn't possible to make the 'download original' link work for gallery2 images as the javascript has no way of determining the link to the original image. However I've fixed the problem with the "null" in the url - the link will now no longer display in such cases. I've also changed the 'download original image' link for gallery2 images, so it allows the user to download the currently displayed image in the lightbox (may or may not be the original though). Perhaps that will suffice?
Try the attached patch or wait for the next dev release of the module, available later today.
Cheers,
Stella
Comment #8
stanley78 commentedthank you. will think about using gallery2 :)
Comment #9
stella commented