Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have several images of UI forms and tasks, that are quite large. I would like to display a smaller, 'thumbnail' image snf give the user an option to 'Click to Enlarge', and then display the fill size image in either a pop-up or separate window or tab. I pop-ups are frowned upon, but this is a decision I must still make.

How would I go about this? Where would I place the JavaScript that loads the full size image and opens a new window?

share|improve this question
    
What have you researched/found/tried? Sounds to me like you're looking for thickbox/lightbox. WordPress has Thickbox built in, a simple google should produce the information you need. –  t31os May 14 '13 at 9:44

1 Answer 1

You should use a lightbox for this. Try this one. It works well

http://lokeshdhakar.com/projects/lightbox2/

There are instructions on how to use it and documentation on how to get it working. The download will also contain samples and you can just copy and paste the code.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.