-
-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Netlify lazyloads all images in production #237
Comments
Ah, I’m confused by the question—if you’re passing in "eager" as the |
nevermind! i have just turned off Cloudinary and it builds correctly now. |
Thanks! Glad you got it figured out! |
I am using eleventy-img shorcode to render all images where i pass image properties such as sizes, src, loading etc.
I have a few images above the fold which i want to load as "eager".
This works well locally and right images are created with the
loading="eager"
tag. (both running serve and build)However, when i deploy the site in netlify, all images come with
loading="eager"
and i cannot figure out why.I don't run any post-processing in netlify and for sanity i have disabled any addons in netlify.
I appreciate this is not a direct issue for eleventy-img plugin but any help would be appreciated, below is the code i use
The text was updated successfully, but these errors were encountered: