PHP code request:
I am building a website that contains several different image galleries--reptiles, birds, and mammals etc. Being graphic heavy I am displaying thumbnails of each picture. I would like the viewer to be able to click on the thumbnail to view the larger image in a popup window. I would rather not have to type the name of every large photo for every new window.
I use the same naming convention for all my photos. Large image = "image.jpg" and thumbnails = "image_thumb.jpg"
What I would like is the user to be able to click on the thumbnails, "dragonfly_thumb.jpg" etc., and a have a popup window display the larger image, "dragonfly.jpg"
Basically I need a PHP code that that I can place around my thumbnail html that will strip out the "_thumb" and opens a popup window.
Desired Popup window characteristics:
Fits to the size of the large image.
Disabled right mouse click
Disables IE 6 galleryimg
Has "close window" underneath image to close window.
My images directories that code would be pulling from
Different galleries folders found under envior_pics:
birds, frogs, insects, lizards, mamals, plants, snakes
I wish I could do this my self but I'm only a graphics guy.
Thanks in advance for the help you might be able to give.