Dynamic image gets 'cropped'

I have various products to display on my site, to do that i made dynamic page that extracts the relevant data for each product from a dataset - one of them is the product image.
the image on the dynamic page takes the desired image for any specific product via reference,
yet by having different kind of products (some longer and thin, some tall and compressed) the result i get is some of the images getting cropped.
I tried to resize the images but the result is the same - as the images needs to be “streched” along the original image frame while keeping the original proporions.
My question is - How can i make a frame which does not “strech” the photo along it’s own proportions, but rather just display it in it’s original form?

Hello Shay,

I think this will help you:

Change the option from ‘crop’ to ‘fit’

Best,
Majd

Doesn’t help. Having the same problem. Any other suggestions?

@Shay Noama Did you find a solution?

Please add a new post rather than bumping an old thread from Jan 2019

You can use Image API and the fitMode function.
https://www.wix.com/corvid/reference/$w.Image.html#fitMode

Old post closed.