johannschopplich / kirby-blurry-placeholder

🖼 Blurry image placeholders for better UX
MIT License
65 stars 3 forks source link

Update auto sizes on resize #3

Closed arnoson closed 3 years ago

arnoson commented 3 years ago

Would it be possible to update the automatically generated sizes when the window is resized?

johannschopplich commented 3 years ago

Of course, thanks for asking: https://github.com/johannschopplich/kirby-blurry-placeholder/releases/tag/v1.2.0

Please test it. Feedback appreciated.

arnoson commented 3 years ago

Wow that was quick! Will test it with an new project and report how it works Thank you

trych commented 2 years ago

Quick question: Is this supposed to recalculate and update the value of the sizes attribute? Because it does not change when I am resizing the window.

Am I missing something?