Can't get photos to scale or contain in flex grid

Questions related to the Responsive Web Design tools of WYSIWYG Web Builder.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/respon ... esign.html
Please read this first before posting any questions! Also check out the example project to get an idea how the RWD concept works.

Responsive Web Design FAQ:
http://wysiwygwebbuilder.com/forum/view ... 10&t=63817
Post Reply
Spikyman
 
 
Posts: 1
Joined: Sun Mar 13, 2022 3:51 pm

Can't get photos to scale or contain in flex grid

Post by Spikyman »

Hi,
I think I've tried just about every combination of flex grid and image settings, except the one that works.
Simple flex grid, row height fixed, picture set to scale or contain, but nothing happens when I switch breakpoints. The photo just overflows the box. It's still overflowed when previewed in chrome or FF.
Any suggestions would be appreciated.
Thanks,
Mark
User avatar
Pablo
 
Posts: 22488
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Can't get photos to scale or contain in flex grid

Post by Pablo »

Did you set the flexbox properties of the image?
Note that using a fixed row for a flexible image is not recommended because then the image will not fit inside the cell.

If you need further assistance then please share a DEMO project so we can see what you have done.
https://www.wysiwygwebbuilder.com/forum ... 10&t=82134
Post Reply