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
- The topic ‘IMG tag inside Lightbox shortcode’ is closed to new replies.