rework-imagesize / 0.1.2 last updated 2 years ago created on Dec 9th 2013
Install
npm install --save rework-imagesize
Clone
git clone git@github.com:simme/rework-imagesize.git
dependencies
| main |
|
imagesize | 1.0.0 | BSD 4-Clause |
|
|
rework-visit | 1.0.0 | MIT |
maintainers
simme
versions
| 0.1.2 | 2 years ago | simme |
| 0.1.0 | 3 years ago | simme |
readme
Rework Imagesize
Uses the Imagesize module to read an image's size and put that size in your CSS!
Usage
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