View Full Version : Display a default enlarged image using CSS Image Gallery

08-12-2009, 01:43 PM
1) Script Title: CSS Image Gallery

2) Script URL (on DD): http://www.dynamicdrive.com/style/csslibrary/item/css-image-gallery/

3) Describe problem:

Hi, may I know is there any way I can show one of the thumbnails as the enlarged image when my visitor visit my page:


I appreciate any help on this, thank you.

08-13-2009, 05:35 AM
If you mean automatically when the page loads, not with this code unfortunately. You may want to look at Image Thumbnail Viewer 2 (http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm) instead.

08-13-2009, 10:05 AM
Thank you for the response. What if I only need it to display a default image that defined by me to display upon first visit?

08-13-2009, 03:57 PM
Image Thumbnail Viewer 2 can do that- just install the script as usual, then inside the "loadarea" DIV, manually insert the image tag you wish to be shown when the page loads:

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

08-14-2009, 06:54 AM
Actually I have considered Image Thumbnail Viewer 2 initially but I see that the thumbnails are automatically re-sized... is there a way that I can use Image Thumbnail Viewer 2 with thumbnails of my own?