jekyll-assets
jekyll-assets copied to clipboard
Asset width and height properties
- [x] I tried updating to the latest version.
- on revision 63a595850648b02baf01fbb7328b271c08bbd61c
- [x] I Am on macOS
Description
Accessing width and height properties of assets no longer works as documented. From the README:
{{ assets["images.jpg"].width }} => 62
It actually outputs nothing in this case.
This however does work as expected:
{{ assets["images.jpg"].dimensions.width }} => 62
Hmm... I could have swore I forwarded those methods when I switched that surface.