Ability to zoom picture card

I would like to have the possibility to zoom picture element card.

I think picture card is very useful for example to display floorplans but sometime those are so detailed and with so many controllable enities that, especially on mobile phones, it is difficult to tap the right element. Being able to zoom will drastically increase the usability on smaller screens.

Thank you!

You need to enable pinch to zoom in companion app settings to zoom in the UI.

3 Likes

Thanks mate, this solved my request. :slight_smile:

1 Like

Has the pinch to zoom option been removed in the companion app ? I can no longer zoom and I do not find the option anymore.

Settings > companion app > pinch to zoom

1 Like

No need for pinch, if you use browser_mod.
I have this and it is working flawless:

type: picture
image: /local/snapshots/home_tablet.png
tap_action:
  action: fire-dom-event
  browser_mod:
    service: browser_mod.popup
    data:
      title: Screenshot
      size: fullscreen
      dismissable: true
      style: |
        --popup-border-radius: 0px;
      content:
        type: picture
        image: /local/snapshots/home_tablet.png