Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Display larger image on clicking thumbnail [was: PHP]

New Here ,
Sep 21, 2009 Sep 21, 2009

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]

TOPICS
Server side applications

Views

383
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Sep 21, 2009 Sep 21, 2009

Copy link to clipboard

Copied

LATEST

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]

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines