2.1.0 • Published 7 years ago
docpad-plugin-imagedimensions v2.1.0
ImageDimensions Plugin for DocPad
Get the size of in image in your static files.
Example (using eco):
<% dimensions = @getImageDimensions('testimage.png') %>
Width: <%= dimensions.width %>
Height: <%= dimensions.height %>
Type: <%= dimensions.type %>
It's based on the image-size npm package.
Install this DocPad plugin by entering docpad install imagedimensions into your terminal.
Discover the release history by heading on over to the HISTORY.md file.
Discover how you can contribute by heading on over to the CONTRIBUTING.md file.
These amazing people are maintaining this project:
No sponsors yet! Will you be the first?
These amazing people have contributed code to this project:
Discover how you can contribute by heading on over to the CONTRIBUTING.md file.
Unless stated otherwise all works are:
and licensed under:
2.1.0
7 years ago