Hello friends, I find myself with a common problem, but I think I found a possible solution, I just need support
As you know, when you upload an image from your database to your site many times the image is cut off…
As you can see when the image is loaded, it is inevitably cut out, and I know that until now there is no function to automatically adjust it.
This is the url of my site’s image
if I change the word fill to fit the image returns to its original setting…
However, even if I change the src of my site’s image to the new “Fit” url, the image keeps coming out cropped… 
My question is, are there other words that can modify the image? I know that there are payment APIs to modify the image using url, this is what I want to obtain:
In this way, any image can be displayed on my site without being cropped, since a margin is created that will make the size of the image match the size of the image object of my site …
already try to change “fill” to “pad” of the url but it does not work, so what is the word that I should use to achieve that goal? API’s are very expensive … thanks
- Edited example of what I want to obtain *
OK, so I gotta admit I’m not exactly sure what your scenario is, but perhaps the Image component settings help?
“Maintain the proportions” crop the image to fill the $item (‘# image1), so the image loses its original proportions …
and “auto fill” completely distorts the image so that it occupies the space of $item (’# image1), none of the 2 options shows the complete images, only the images whose proportions are exactly equal to $item (’ # image1) do not they are cut …
My intention is that when modifying the link a frame is created so that the image has the same proportions as $item ('# image1) and so the image is shown without cuts and without losing its proportions
@jessyerena Hmm, I thought that playing with these settings might arrive at a solution.
This is not really a Wix Code question. You might be able to get help regarding this issue from the Wix support team .
@yisrael-wix in the screenshots above where I show how changing the “fill” to “fit” of the url can make the image recover its proportions makes me believe that there are more similar functions (“crop” for example) do you know of some more? … it may not have to do with wix code but it is an alternative that can solve the problem of many
@jessyerena That’s why I recommend checking with Wix Support - they know more than me. 