PDA

View Full Version : Setting inital image in Image Thumbnail Viewer II



Vagrant Logic
04-04-2005, 11:30 PM
Hi. I'm using the Image Thumbnail Viewer II http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm on my site.

www.inverse-concepts.com

My question is somewhat 2 parted.

First, I want to be able to set an inital image to load up into the frame when the page loads.

Secondly, this site is done in PHP. I have the first part of the script in the output file, with main (big image) array. And the parts with the thumbnails and frame in a seperate PHP pages. (The first 6 are for the digital photo page. The next 6 are for desktop images, etc.) Can I Set the inital image for each of those pages?

I know it sounds complicated, but the help would be greatly appreciated.
Thanks! :D

jscheuer1
04-05-2005, 06:19 AM
Stick an image in this div:
<div id="dynloadarea" style="width:296px; height:222px; left: 0px; top: 0px;">image goes here</div>Its code (not the actual image file) should get overwritten by subsequent images. Now, if you are using PHP and want this same page for a different gallery, tell it to load a different image here. I know how to do that in JavaScript, but not in PHP, so you are on your own there, simple solution, make two pages.

Vagrant Logic
04-07-2005, 11:55 PM
Thanks a lot.