WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a built in way within the backend admin area to have an image show in a popup/lightbox?

I built a plugin with help images and want them to show when clicked in a popup overlay / lightbox.

share|improve this question

You can just use the built in ThickBox. Maybe not the pretties library but it does its job. Just add the class thickbox to the link and add the image to the href

Here is a simple example:

<?php echo '<a href="image.png" class="thickbox">'. __('Test image', 'domain') .'</a>'; ?>

Read more about ThickBox here.

share|improve this answer
i totally for that...however, I should not have used thickbox i the description. Didn't WP stop using thinkbox? What is default image overly in WP? I was going to use colorbox but did not want to load anymore in the head than aI have to? – Jason Jan 8 '13 at 23:06
WordPress uses Thickbox for links-popup in the editor, Still in WordPress 3.6-alpha. – Pontus Abrahamsson Jan 8 '13 at 23:10

Your Answer


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.