Thanks fir your reply Nabeel,
I've already tried that and that do indeed change the size of the image but by changing the size of the container. What I'm trying to do is to show the entire image (shrinking it) to fit inside of the container.
Hard cropping enabled
Adjusted to 91x91 px https://cl.ly/3T261z3J3N3O
Adjusted to 546x546 px https://cl.ly/3w2v1g413y3I
Hard cropping disabled
Adjusted to 91x91 px https://cl.ly/2R1E3B34401i
As can bee seen in the last snapshot the container increase in size with the image.
I used some of my insane Photoshop skills and created an image that shows what I'm trying to accomplish: https://cl.ly/3W1H1N0l0e1M
Does it make any sense or is it me that got my bits and bytes totally wrong?