2 images inside div problem

hi there,

i did setup a looper for an option page with images and text.
all works well except the images -> they are too big. my setup:

column : div and text
div: image1 + image2

div setup: width: 100%; height: 10em;
image setup: contain

but the image does not fit the height of the div… i think that should work?

creds in sec note

thank you in advance

Hi @deranaloge,

Thanks for reaching out.
I have checked the Layout and found that the DIV has been set to the 10em fixed height, and that is the reason why the image goes outside it. I have set it to auto and it starts working as expected.

Screenshot-2022-09-22-153844

Thanks

hi,
i know it was set at 10em. that should be the max height.
the image should fit the content. that is why i set the image to contain.
i thought it would be limited by the div then.

i made a workaround with a row now and it works like expected.

thank you

Hi @deranaloge,

Glad that it is working now.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.