Newbie- Wallpaper Site Project

Hi,

I am new to php. To learn php I’ve been working on developing a wallpaper website on my WAMP server. So far I have managed to write php pages to echo tags for 3 different pages, so the content changes but the layout remains the same.

Anyways, I am now trying to create a gallery page (containing thumbnails) and I need to display the larger image whenever a thumbnail is clicked.

Lets say there are 3 images (A.jpg,B.jpg,C.jpg) in my folder, and corresponding 3 thumbnails in the same folder(As.jpg,Bs.jpg,Cs.jpg). I need all the thumbnails(As.jpg,Bs.jpg,Cs.jpg) to be displayed on the page when I click on the link for the gallery.

I have no idea if such a thing is possible with php.

Please help.

Regards,
phpdoc

I’m afraid I’m having a little bit of difficulty understanding what you’re trying to achieve. If you want all of the thumbnail images to automatically display on the same page when you click the corresponding gallery link, you’re probably needing to look at Javascript, as that’s the more appropriate tool. No need for a server side language for something like that.

Yes stlewis. You assume correct. That is what I wanted to do. Just wanted to make sure if php has a solution for me. Thank you for your reply. Have a good day ahead. :slight_smile:

Sponsor our Newsletter | Privacy Policy | Terms of Service