I have this imagebox that will display a user's uploaded image:
<img src = "./imgs/..imagenamehere..." style = "background-size:cover; width:357px; height:357px;"
I placed the background-size:cover
there because I want the imagebox to autoadjust the image when it's not in a 1x1 size so it won't stretch the image and also not to increase the imagebox's size.
However when displaying a long portrait image, the imagebox auto-orients the image making the image looks like it standing instead of the original portrait position.
Is there any way to fix this?