#Image in Dashboard

1 messages · Page 1 of 1 (latest)

merry vale
#

Hi I need help how i can make that a Image use 100% off the avable Space in the Dashboard and not more.
The Aspect ratio should not changed.
my image here as 1228x1591 pixel, that what you see in the picture is only around 1/4.
i used Panel ( single card )

elements:
  - type: state-badge
    style:
      left: 10%
      top: 10%
    entity: sensor.wetterstation_aussentemperatur
    tap_action:
      action: none
    hold_action:
      action: none
    name: Aussen Temperatur
image:
  media_content_id: media-source://image_upload/11cbf456351be2a8fa6abff3416b7139
  media_content_type: image/jpeg
  style:
    object-fit: cover
  metadata:
    title: test haus.jpg
    thumbnail: /api/image/serve/11cbf456351be2a8fa6abff3416b7139/256x256
    media_class: image
    children_media_class: null
    navigateIds:
      - {}
      - media_content_type: app
        media_content_id: media-source://image_upload
zenith beacon
#

Try fit contain instead of cover?

merry vale
#

this sryle i added for try but had no effect, is this the right position ? ^^

zenith beacon
#

actually no I don't think so

merry vale
#

no one can help ?