My Sidebar Image Viewer

Otto PironAn image rotator and a simple image popup was the inexpensive and less complicated way of creating a mini image viewer for me… I actually had these pictures and the rotator script working on my website before I changed it to Flash. And before I forget… thanks to Otto Piron for the wonderful images of Dominican Republic, all of the pictures from the Blog Party back in May, and the endless number of dream cars from the ‘05 NYC Auto Show…

If you are thinking of implementing this idea, you will have to have your own hosting service amoungst other things. You will also need the Image Rotator script and you will also need to insert the Image Thumbnail Viewer script into your files if you decide to expiriment with it.

The Image Rotator is an easy way to make an image on your website change every time a visitor reloads the page. The Rotator picks a randomly selected image from a folder you specify and displays it to your visitors.

The script figures out which image files are available for rotation all by itself, so you’re free to add or remove images as you please, without the need to edit the script or a configuration file.

Read and download the Image Rotator here

Next, the script from Dynamic Drive which turned out to be easy to implicate and add to my header and sidebar files… Read and insert the script for the Image Thumbnail Viewer from here

My modifications were simple… a double border around the images just to give it a a little edge… and I also addeed the Reload Random Images within the border of the Image Thumbnail Viewer…

#mypix img {
border: 3px double #ccc;
}

<a href=”/index”>Reload Random Images</a>

Well that just about does it… I’m sure you can put two and two together and figure the rest out…


About this entry