Image popup in a lightbox / overlay from the backend 3.5 admin area (plugin)

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.

Related posts

Leave a Reply

1 comment

  1. 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.