when automatic lightbox2 usage for gallery2 images is enabled (default matrix theme in gallery2), the image shown with lightbox2 is the thumbnail and not the larger one!

also, downloading image with rewrite URLS on always results in a very bad error.

CommentFileSizeAuthor
#7 359338.patch1.17 KBstella

Comments

stella’s picture

Category: bug » support

Can you provide a link to your site?

Cheers,
Stella

stella’s picture

Status: Active » Closed (won't fix)

Marking as "won't fix" because no more information forthcoming. Please feel free to reopen if you can provide more info.

Cheers,
Stella

stanley78’s picture

Status: Closed (won't fix) » Active

well, i get the same behavior at http://stas-arkhipov.info

view details works well, but download entire image produces link to null.

stella’s picture

Status: Active » Postponed (maintainer needs more info)

@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

sbassett’s picture

@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

stanley78’s picture

stella, 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

stella’s picture

Category: support » bug
Priority: Critical » Normal
Status: Postponed (maintainer needs more info) » Needs review
StatusFileSize
new1.17 KB

@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

stanley78’s picture

thank you. will think about using gallery2 :)

stella’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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