Set Cardview height to auto (-1) and image height to pixel / percent.
This the exact problem every image have different aspect ratio and i have thousands of images everyone with different size and pixels how do i know that pixle of every image
Set Cardview width -2
You don’t need to know actually! While using Scale Picture Fit
block, images will fit in the cardview as per the cardview height.
By the way, you forgot setting Cardview and Image width to match parent (-2).
Yup but this gonna looks weird some of my image have 1:9 ratio .
Yup i forgot that in this screen shot. I had already did that.
You can send the aia if you want.
I made this application for a corporation soo i cant share that
But i can make another project with same situation… thank you soo much for your time just give me a minute
Sure. A demo aia would be good!
by mistake i added vertical arrangement not Vertical scrolling arrangement please replace that first in demo aia
Wait a while… Checking it.
I’m not getting any images from your server. Check details.
test(1).aia (252.9 KB)
try this one i have removed airtable component now there is direct link available
Ok… Wait
thank you soo much for your efforts but this not what iam looking for i dont want to change my image aspect ratio.
i just want automatic height for every single image with there height ratio
thank u for ur time
ok i got my solution
here u can see the image aspect ratio is not changing but showing image little zoomed as fit to width
just set the card view component to a fixed height and width and then set image height and width to 100%
ik this is not exactly iam looking for but this is better then changing image to scale to fit.
thanks @asimjib93 i got this idea from ur aia
i got another update
by using this extension we can set image scaling to center.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.