Rework Imagesize
Uses the Imagesize module to read an image's size and put that size in your CSS!
Usage
var rework = ;var size = ; var css = ;
Using the above JavaScript. This:
Would produce something like:
You can also use the "properties" imgsizew
and imgsizeh
to get only
the width
or height
of the image, respectively.
License
MIT