gulp-inline-imagesize
Make comments in your HTML with the size of your images
Install
$ npm install --save-dev gulp-inline-imagesize
Usage
const gulp = ;const inlineImagesize = ; gulp;
Output
An example output is given an image tree.jpg
thats 1500x500
,
and the HTML:
The output of running this task would be:
<!-- 1500 x 500 -->
License
MIT © Adam Kelly