PHP Gallery HELP!

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]

---------------------

banner

<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]
  • Glenmore Landing
  • Eliott Smith
  • Lea Vespa
  • Lux
  • Young Love

Glenmore Landing

caption here

Eliott Smith

caption here

Lea Vespa

caption here

Lux

caption here

Young Love

caption here

[/php]

divide

© Kate Harquail Design 2012

Sponsor our Newsletter | Privacy Policy | Terms of Service