I am trying to build a gallery in PHP and I am having issues trying to have the large image appear when the thumbnail is clicked. What am I missing from the PHP that I have currently?
[php]<?php
if (!isset($_GET[‘pic’])) { $pic = “img”; }
else { $pic = $_GET[‘pic’]; }
?> [/php]
---------------------<p><img src="divide.png" alt="divide" title="divide" style="image-align: center; padding: 1em;"/></p>
Photography
Welcome to the photography portion of my website. In this section you will find some of my recent photographs. To view my recent photographs hover over the desired picture on the left. All shots have been taken with a Canon Rebel T3i with an 18-55 lens. I hope you enjoy my recent works! Check back every month for a different gallery of recent photos.
[/php]© Kate Harquail Design 2012