When opening an image from an acidfree video using automatic image handling for the first time since the last page refresh, the animation of resizing the lightbox works properly. After closing the lightbox by either using the X or clicking on the image or background, all subsequent images that pop in lightbox do not animate at all. Refreshing the page solves the problem for the next view, but all subsequent views do not animate.
I also have the issue previously reported by another user that lightbox's fade out effect flashes multiple times. If I click on the first image and click on the background, it fades out properly. The next image will fade out, blink back to a dim screen, and fade out again. The third image will do this loop 3 times and so on.
Comments
Comment #1
stella commentedFor the fade out flashing issue, please use the patch provided in that issue and post any follow-ups there.
The way lightbox2 works is, it is given a default width and height. When an image is clicked on, it will resize the lightbox to the size of the image. If you click on another image, then lightbox size is adjusted in relation to the last image displayed. If the two images happen to be the same size, then no resizing is required and so animation is seen.
Cheers,
Stella