BipadTaranMahato / slideshow

Automatically exported from code.google.com/p/slideshow
0 stars 0 forks source link

Images not shown on first load #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Upon the first time the page is loaded, only the thumbnails and the caption
appear. Only when you reload the page then the images appear where they
should be.

Version:slideshow2r46

Windows XP,  FireFox 2.x

Link:
http://raine.ridevelopement.com/uscholar/event_photos.htm

Regards

Original issue reported on code.google.com by yellow1...@gmail.com on 16 May 2008 at 1:56

GoogleCodeExporter commented 9 years ago
Confirmed on OS X, Firefox 3 beta.  This appears to be an issue when a height 
and
width are not specified.  Then the script tries to use mootools' getSize method 
to
determine the dimensions of the image, but it has not loaded yet.  On subsequent
loads the image is cached so it's not a problem.

Original comment by dgl...@gmail.com on 25 May 2008 at 9:08

GoogleCodeExporter commented 9 years ago

Original comment by aeron.gl...@gmail.com on 12 Jun 2008 at 10:39

GoogleCodeExporter commented 9 years ago
I believe this can be corrected by setting the dimensions of the first image in 
the HTML (using height / width 
atts) and / or setting a dimension for the slideshow in the JS on 
initialization (using the height / width options). 
Let me know if this is not the case.

Original comment by aeron.gl...@gmail.com on 16 Jun 2008 at 12:24

GoogleCodeExporter commented 9 years ago
That is the workaround we have successfully implemented for the Plone 
slideshowfolder
product.  It would be nice if the documentation could be updated to clarify that
while the width and height settings are optional, omitting them may have this
consequence.

Original comment by dgl...@gmail.com on 16 Jun 2008 at 12:39