I have an image component with portrait format that sometimes displays images in landscape mode, which always end up having blank spaces above and below to fill in the rest to the space.
How can I prevent this from happening, given that I want it to “show full image” and not crop.