October 31, 2014 at 11:59 am
I have some products that I’m describing. There is a screenshot that accompanies each. I have also custom-cropped (instead of just auto-resized) some images to serve as thumbnails. What I would like to do is this:
1. Put the img tag of the thumbnail into the post
2. identify in the tag itself or with a wrapping element (anchor tag? Doesn’t matter) the location of the large version
3. set it so that when the user clicks the thumbnail, the large image appears in a lighbox or Magnific or whatever
Can this be done? I searched the forums for someone else trying this, but came up short. I also tried to embed a Cyclone slideshow so that I could just borrow the rendered markup, but the lightbox functionality wasn’t “working” (ie. I missed something in configuration I guess…).
{img src=”thumbnail.jpg” data-target=”big_version.jpg” rel=”lightbox” /} or something like that…. (curly braces replaced by angle braces)