View Full Version : Resolved Image Thumbnail Viewer II

11-26-2008, 10:14 PM
Hi All,

I'm using an image viewer script featured on dynamic drive:


My problem is that by default I need a larger image displayed without having to rely on the user's mouseover or click.

Can anyone advise what part of the script I would need to edit to do this? :confused:

I'm not great with JS (more of a copy and paste advocate) so I'd really appreciate any guidance.

11-26-2008, 10:36 PM
Luckily for you, someone has been having a similar problem, go to here to find out the solution : http://www.dynamicdrive.com/forums/showthread.php?t=39141

Hope this helps,


11-26-2008, 11:06 PM
Hmm. It looks like I have a load area to work with that I didn't notice.

If I just insert my first large image within the div it seems that I'd have a default image.

<div id="loadarea" style="width: 600px">
<img src="MYIMAGEWOULDGOHERE.jpg" alt=""><br>

I'm not sure if the default image will be restored after the after the mouse out event but this line contained in the JS file looks promising:

hideimgmouseout: false,
//Hide enlarged image when mouse moves out of anchor link? (if enlarged image is hyperlinked, always set to false!)

I'll let ye know how it goes.

Thanks for the link!

11-26-2008, 11:22 PM
Works perfectly, thanks so much Schmoopey. The cookies are on me!

11-27-2008, 12:37 AM
Hehe :) No problem.

11-27-2008, 06:11 AM
The default image will not be restored. If it were a strategically placed and sized background image it could both be restored and be covered each time a larger image was triggered by the script.