Title: IMG tag inside Lightbox shortcode
Last modified: September 25, 2022

---

# IMG tag inside Lightbox shortcode

 *  Resolved [mikebian](https://wordpress.org/support/users/mikebian/)
 * (@mikebian)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/img-tag-inside-lightbox-shortcode/)
 * I have a page that has a lot of thumbnails on it and I want to be able to click
   on one of them and have a lightbox open with the full image. The images are stored
   outside of the WordPress media library. This is the code I am using:
 * `[su_lightbox type="image" src="/tp/20.jpg"] <img src='/tp/19.jpg' width='100'/
   > [/su_lightbox]`
 * Not sure if it’s WordPress or Shortcodes Ultimate, but the < and > of my img 
   tag get escaped and I actually see the HTML rather than the small image. When
   I click on the html, the page displays the full image very nicely.
 * Is there any way to get an image to display inside the shortcode?
 * Thank you
    -  This topic was modified 3 years, 7 months ago by [mikebian](https://wordpress.org/support/users/mikebian/).

The topic ‘IMG tag inside Lightbox shortcode’ is closed to new replies.

 * ![](https://ps.w.org/shortcodes-ultimate/assets/icon-256x256.gif?rev=2547563)
 * [WP Shortcodes Plugin — Shortcodes Ultimate](https://wordpress.org/plugins/shortcodes-ultimate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shortcodes-ultimate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shortcodes-ultimate/)
 * [Active Topics](https://wordpress.org/support/plugin/shortcodes-ultimate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shortcodes-ultimate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shortcodes-ultimate/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [mikebian](https://wordpress.org/support/users/mikebian/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/img-tag-inside-lightbox-shortcode/)
 * Status: resolved