Hi @tobimori I’m very interested in using Thumbhash but somehow I don’t find how to use it I’m afraid
I’ve tried to replicate your suggestion:
<img
data-thumbhash="<?= $image->thumbhash() ?>"
data-src="<?= $image->url() ?>" // Original src attribute will be placed by unlazy
loading="lazy"
alt="<?= $image->alt() ?>"
/>
But nothing shows. I then added <script src="https://unpkg.com/unlazy" defer init></script>
in my footer and images started to show but it was very slow and no sign of any blur. Simple lazy effect as it already was.
I guess I’m missing something but I couldn’t find any how-to for amateurs like me.
Would appreciate very much your help