Forum Moderators: coopster
Rather than have them open in a popup window I would like them to all show up in a MAIN left box when clicked.
Hows the best way to go about this guys. Also the thumbnails are the same size but the main images will be slightly different sizes.
Your PHP code is then
<? // get the image size
list($width, $height, $type, $attr) = getimagesize($_GET['show']);
?>
<img src="<?=$_GET['show'];?>" width="<?=$width;?>" height="<?=$height;?>" />
And that's pretty much it!
Try searches at the search engine of your choice for 'javascript rollover', 'javascript photo gallery', or 'javascript lightbox' for some examples and ideas.
My ony problem with that method is that the page re-loads and I dont want to have to have the page re-load.
I was not aware that I could be penalised by going down that route though!
I am looking into the javascript option im just worried about those that have javascript turned off!
Thanks guys.