Hello to all,
I'm building a site using php and mysql and I'm stuck on a last piece of functionality. I'm allowing users to upload pictures to a mysql table which will then be displayed on my site. I have no problem uploading or displaying the images.
The problem lies when I want the user to see a larger version of the pictures. I cant figure out a way so that when the user clicks on one of the smaller images a pop up window is opened with the large image and next and previous buttons.
Any help would be appreciated
here is my code
So how do i make an image pop up when clicked?
$result = mysql_query("SELECT * FROM photo WHERE dogname ='$name'");
echo "<td><img src='$dogphoto' width='200' height='150'></td>";
Thanks in advance!
Just a simple pop up box, i.e just click the picture and the pop up opens with the full size image
Originally Posted by Fang
Where will the larger image appear? Near the smaller image or a specific location?
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)