j-a-n / lovelace-wallpanel

🖼️ Wall panel mode and photo screensaver for your Home Assistant Dashboards
GNU General Public License v3.0
478 stars 44 forks source link

Feature Request - Ken Burns effect on picture #122

Closed amondit closed 1 year ago

amondit commented 1 year ago

Hello, (and thanks for the good work!)

I'm using this along with the Google Photos integration, works great! However some pictures have an aspect ratio that makes them cut when displayed, and also appear a bit 'static' without animation.

Would it be possible to add some moving effects on the pictures (like the ken burns effect, for example), maybe done through css transformations?

Many thanks!

j-a-n commented 1 year ago

Thank you, this is a very nice idea! I have started to implement the effect in v4.14.0. You can activate it with:

config:
  image_animation_ken_burns: true
  image_animation_ken_burns_zoom: 1.3

Feedback is welcome!

Pscharumbel commented 1 year ago

Great! Thank you very much for the update and the entire project in general!

Is it possible to delay the animation a bit and have it start just before transitioning to the next image?

Thanks!

j-a-n commented 1 year ago

There is now the new configuration attribute image_animation_ken_burns_delay in the latest version.

Pscharumbel commented 1 year ago

Amazing! Thank you so much!!