vue-clazy-load icon indicating copy to clipboard operation
vue-clazy-load copied to clipboard

Will this work with srcset/picture?

Open hackuun opened this issue 7 years ago • 5 comments

Hi. Is there an option to support responsive images?

hackuun avatar Jan 19 '18 18:01 hackuun

Hello! No, currently there isn't, but it's perfectly doable. I'll add it to the 1.0 roadmap. Thanks for the request!

matheusgrieger avatar Jan 19 '18 18:01 matheusgrieger

Hi, any plan to implement this?

liborvanek avatar Jul 26 '18 10:07 liborvanek

Yes! It's going to be implemented in v1.0. I'm just busy with some other stuff and haven't got the time to develop it until now, but it's in the works! :smile:

matheusgrieger avatar Jul 26 '18 17:07 matheusgrieger

Hi @matheusgrieger any update? Just some info. With the <picture> tag we can also provide modern images and define a fallback. So it would be useful supporting this (basic) structure as well:

<picture>
  <source type="image/webp" srcset="flower.webp">
  <source type="image/jpeg" srcset="flower.jpg">
  <img src="fallback.jpg">
</picture>

equinusocio avatar Dec 26 '18 21:12 equinusocio

Hello @equinusocio! Yes, this will be supported, following the picture tag guidelines and docs. Sadly, I had no time to work on it at the moment, as I'm currently with my head fully occupied by other projects.

I hope that I will be coming back to Clazy Load soon, though. Sorry for the delay on this issue.

matheusgrieger avatar Jan 04 '19 10:01 matheusgrieger