I've recently been using Ghost as a headless CMS, and found that when I tried using it with their Eleventy starter theme the build would fail whilst processing images. After doing a little digging, I found that Unsplash abbreviates "format" to "fm" inside the query string (so was causing the file extension to be set as null).
So my pull request is a small adjustment that follows on from this previous pull request, which allows for the format to be passed via the URL:
Hello Liam,
I've recently been using Ghost as a headless CMS, and found that when I tried using it with their Eleventy starter theme the build would fail whilst processing images. After doing a little digging, I found that Unsplash abbreviates "format" to "fm" inside the query string (so was causing the file extension to be set as null).
So my pull request is a small adjustment that follows on from this previous pull request, which allows for the format to be passed via the URL:
https://github.com/liamfiddler/eleventy-plugin-lazyimages/pull/16
Thank you for the amazing plug-in, and please let me know if you require any changes to my suggestion.
Samuel