Lightbox image changes on FF2 the first time it gets focus
Description
Environment
is duplicated by
Activity

Anastasia Cheetham July 9, 2008 at 6:43 PM
This issue is no longer happening.
Jonathan Hung December 20, 2007 at 6:39 PM
There is not a Jira issue for the Gallery relating to this bug.
http://jira.sakaiproject.org/jira/browse/GAL-74
Assuming that a server implementation is put in and that thumbnails are generated of an appropriate size (i.e. 140x100px), then this bug should go away.

Joseph Scheuhammer December 20, 2007 at 2:44 PM
Eli noted that:
> ...this is an Image Gallery bug... we need to generate (probably alongside Resources) real thumbnails.
I agree.
However, the lightbox standalone demo, which can be seen on our daily build server (http://build.fluidproject.org/sakai-imagegallery-tool/component-templates/html/Lightbox.html), is also using full size images instead of actual thumbnails. It should use real thumbnails as well. And, since that demo is completely outside of the gallery tool, it falls to us to make suitable thumbnails for it.
Jonathan Hung December 19, 2007 at 4:27 PM
To see this problem more clearly, modify Lightbox.css so:
.image-inner-container{
height: 100px;
width: 140px;
background-color: #eee;
overflow: scroll; /* <-- changed from "hidden" */
margin: 0 auto 3px auto;
}
Jonathan Hung December 18, 2007 at 9:09 PMEdited
Some more insight into this problem:
Before focus, the thumbnail shown is the top of the "full" thumbnail image. (i.e. bottom portion is cropped)
After focus, the thumbnail shown is the bottom half of the "full" thumbnail image. (i.e. top portion is cropped)
Right-clicking on the thumbnail and "View Image" reveals that the thumbnail is actually bigger than the image being rendered in the Lightbox (i.e. the thumbnail shown is actually a crop of the full thumbnail).
Thoughts:
would providing a pre-cropped version from the server solve this problem?
Is there any way to crop the thumbnail on the client instead? (without having to resort to Javascript).
Details
Assignee
Anastasia CheethamAnastasia CheethamReporter
Simon BatesSimon BatesComponents
Fix versions
Priority
Major
Details
Details
Assignee

Reporter

To reproduce:
open http://build.fluidproject.org:8080/sakai-imagegallery-tool/component-templates/html/Lightbox.html
tab to the lightbox
navigate with the arrow keys
image changes the first time it gets focus