bridgetownrb / bridgetown-cloudinary

Embed or access images with transformations using Cloudinary and Bridgetown
MIT License
6 stars 3 forks source link

Add built-in support for lazy image loading #4

Open jaredcwhite opened 2 years ago

jaredcwhite commented 2 years ago

aka the loading="lazy" attribute

JuanVqz commented 2 years ago

what does this mean? Does somebody only need to add that property to the generated img tag to fill this issue out?

jaredcwhite commented 2 years ago

@JuanVqz Essentially, yes. I'm not sure yet if we enforce it or make it configurable somehow (there could be cases where people choose not to lazy load for whatever reason).