When a picture is larger than what fits in the user's browser window, the expand.gif is shown, but the rest of the the lightbox window, including the close.gif is pushed out of site. This app would be perfect for me if the user didn't have to figure out that the close.gif link needs to be scrolled down to, and discovered.

I'm including a screen capture. Please respond if there is an easy modification I can make to any of the java script to correct this.

Thanks for all your work!

CommentFileSizeAuthor
screen_11.png513.28 KBdilcher

Comments

stella’s picture

Status: Active » Closed (duplicate)

duplicate of #150377

dilcher’s picture

went to the "duplicate of #150377" link, but couldn't find the solution. Anyone have an idea?

stella’s picture

Assigned: Unassigned » stella

For the issue where when you open a large image and the lightbox appears but pushes the close button below the bottom of the browser window, make the following change to line 72 of lightbox2/js/lightbox.js

var borderSize = 18;

I've added this to CVS and it will be included in the next release.

However, if you click on the expand button then the image will be shown in its original size which may mean that the close button is once again pushed beneath the browser window. In this case, it is a feature rather than a bug.

Cheers,
Stella

stella’s picture

This has been released in 5.x-2.0 and 6.x-1.0.

Cheers,
Stella