lazyload-rails
lazyload-rails copied to clipboard
Support for a per-image Placeholder
I was wondering if it is at possible to provide support to send a placeholder for every image instead of setting a configuration...
something like this:
<%= image_tag "my-image-hi-res.png", lazy:true, placeholder: "my-image-low-res.png %>
Basically I'm trying to blur up the images as described here
By the way, I'm more than happy to send Pull Request, I'm just checking if it would be welcome :)
Go for it 👍 PR welcome
Hi guys , is that "placeholder: "my-image-low-res.png" as described above working?
Hi @eugenedm , I sorry I didn't have the time to work on this feature... =/