
Originally Posted by
belledumonde
hello! i have a similar problem and hope outremedia wouldnt mind me posting it here.
what if you want the larger image to appear on the same page?
see i am also doing that kind of page with thumbnails for my gallery. i haven't uploaded it yet so i'll try to describe it.
the thumbnails are in the upper portion of the page, and i have an iFrame below them where i want the photos to be displayed as opposed to opening a new window. so far its going great, but all the styling is in my markup including target, borders etc which isnt XHTML 1.0 compliant.
how do i do this? maybe not using frames? what about the embed or object tags?
thanks!

hi m8
you should check out this thread, it's in php.. but it worked for me
http://www.sitepoint.com/forums/showthread.php?t=386790
change the photo links to <a href="nameofpage.php?photo=photo_name"><img src="photo_name" width=width of thumb height=height of thumb></a>
but, add this to your <head>
PHP Code:
<?php
$blob = glob('*.jpg');
?> </head>
and this for your img, <img src="
PHP Code:
<?php
if(in_array($_GET['photo'], $blob)
{
include($_GET['photo']);
}else{
echo "noacces";
}
?>
" height=desired height width=desired width>
hope that helps you 
Edit:
and make a noacces.jpg file in it in case someone wants to run a script via the url bar... and name your page .php
Bookmarks