Skip to main content
Participant
September 21, 2009
Question

Display larger image on clicking thumbnail [was: PHP]

  • September 21, 2009
  • 1 reply
  • 398 views

Hi

I am developing a site in PHP MYSQL using dreamweaver cs3.

I am able to retrive data to my query frm the data base with the thumbnail of the image.

What I want to know is how the link this thumbnail so the it shows a enlarged view when the user clicks on it.

I would appreciate if somebody can help me out.

Thanks

chackala

[Subject line edited by moderator to indicate nature of question]

This topic has been closed for replies.

1 reply

September 21, 2009

Assuming that you have the large image (or the path to it) stored in your database, you can use a JavaScript "lightbox" effect.  I've used Milkbox (add-on to the popular Mootools framework) and it works very well: http://reghellin.com/milkbox/.  There are also plenty of other choices out there and you can build your own if you want.

HTH

---

Hieu Bui

[Advertisement link removed by moderator]