eleventy-img
eleventy-img copied to clipboard
Utility to perform build-time image transformations.
I'm using sanity studio and their portable text with [a serializer](https://github.com/portabletext/to-html), to turn the portable text into html. The serializer is a shortcode, that looks like this: ```js const {...
~~Fixes #146.~~ While calculating hash, `assetCache.isCacheValid()` returns `false` while the image is being fetched, and that returns in a different hash digest. When 11ty is run the second time, `assetCache.isCacheValid()`...
Hello, I'm stuck on this issue for a moment now. Since I'm using Nunjucks and want to use the Image's shortcodes in a macro, I'm forced to use the "Synchronous"...
Thank you for this plugin. It would be great if it was possible to use this plugin with markdown images. ``` ...
#132 solved the issue of some images not being rotated properly due to not respecting EXIF data. However, some images are still not being rotated correctly, especially landscape images that...
https://jakearchibald.com/2021/serving-sharp-images-to-high-density-screens/
Hi there, I'm trying to use eleventy-img as a shortcode to output CMS images. I've just used the sample code from the docs for now. .eleventy.js looks like: ``` ......
Hi there, I'm having trouble passing the image path specified in my post's frontmatter to the image shortcord in njk templates. For example: Frontmatter of my post.md file will look...
Filenames of local images are hashes of their actual content. So websites can make browsers cache them forever. But filenames of remote images are hashes of their URL. So they...
So, I'd like to keep images seperated by collectionGlob. Each collection has an image folder. When calling a nunjucks plugin to process the image, I'd like it to tell the...