Copy link to clipboard
Copied
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]
Copy link to clipboard
Copied
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]