cleaner-gallery
cleaner-gallery copied to clipboard
Dynamically add img src meta data
I tired just about everything in attempts to get this plugin to work the way I want, I'm looking to add the hight and width of the src image that is included in the link.
<a href="/src/img_full.jpg">
<img src="/src/img-thumb.jpg" width="150" height="150">
</a>
Now I know the img_full is 1500x1500, is there any way I can pull this information from the image_src_meta?
Below is an example of what I'm trying to accomplish.
<a href="/src/img_full.jpg" width="1500" height-"1500">
<img src="/src/img-thumb.jpg" width="150" height="150">
</a>