cleaner-gallery icon indicating copy to clipboard operation
cleaner-gallery copied to clipboard

Dynamically add img src meta data

Open AgentSource opened this issue 10 years ago • 0 comments

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>

AgentSource avatar Jan 16 '15 19:01 AgentSource