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.
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.Sign up to join this community
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
Here is a simple example:
<?php echo '<a href="image.png" class="thickbox">'. __('Test image', 'domain') .'</a>'; ?>
Read more about ThickBox here.