Picture-elements with multiple cameras

Hi, I’m trying to configure an picture-elements card with multiple cameras live feed, and switch to the next camera when I click on the picture. I’ve tried multiple solutions with CSS and toggle options but I was not able to get what I want.

Below is the latest code I’ve been playing with. Changing the visibility style between visible and hidden sort of does what I want (but load the feed even when not displayed). And I wasn’t able to change the visibility when I click on the picture, nor how that would scale with multiple cameras.

elements:
  - entity: sensor.time
    type: state-label
    style:
      color: yellow
      font-size: 600%
      left: 50%
      top: 45%
    tap_action:
      action: none
    hold_action:
      action: none
  - entity: sensor.date
    style:
      color: yellow
      font-size: 200%
      left: 50%
      top: 80%
    type: state-label
    tap_action:
      action: none
    hold_action:
      action: none
  - type: image
    camera_view: live
    camera_image: camera.outdoor
    tap_action:
      action: toggle
    hold_action:
      action: none
    style:
      left: 50%
      top: 50%
      width: 100%
      height: 100%
      visibility: hidden
type: picture-elements
camera_image: camera.door
camera_view: live

I’d appreciate some help if anyone have an idea on how to that in HA. Otherwise maybe using javascript ?