Location Card (oh-location-card) and Background picture size

Hi all,
I’m trying to configure my Location page and set some background to each location card (oh-location-card). Unfortunately I didn’t find a way to scale and/or resize the image in order to fit the Location Card.
How can I scale the image to fit the card or what is the original picture size I have to use?

  • Platform information:
    • Hardware: Raspberry PI 4
    • OS: Raspbian
    • openHAB version: openHAB 3.3.0.M7 (in a docker container)

Thanks Ale

1 Like

Yup, I am also interested in the answer. My own shots also appear misaligned.

Edit: I reverse engineered a little bit what I could see from the developer console. If you want to be pixel perfect then use the drawing below.

I recommend using higher resolutions which are a multiple of 670 x 200 for nice looking results. like 1340 x 400.

1 Like