View Full Version : How do I auto load the first image with Image Thumbnail Viewer II

06-09-2010, 01:31 PM
1) Script Title: Image Thumbnail Viewer II

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm

3) Describe problem: I would like to make it so when the page is loaded..There is an image already in the "Display Div" I don't want just a couple thumbnails and a big blank page...Its a bit confusing for someone if they think something else is supposed to load. Does anyone know how I can have a certain image autoload? see below for example of what I have. Thanks!!!


06-09-2010, 08:54 PM
The easiest way is actually just to manually add the image you wish to be shown by default iinside the thumbnail image container, for example:

<div id="loadarea" style="width: 600px"><img src="default.gif" /></div>