0

enter image description hereenter image description here

I have an already developed a Laravel web app. I've just discovered that whenever I upload an image taken from a mobile phone it rotates and if the image px is bigger than the containers then the image is cut partially as I have kept overflow as hidden. I have heard of the image intervention package but i don't know how to apply it to my app, if there is any other way to resolve then issue without any additional package then that would be of great help.

profile-avatar{
    width: 420px;
    height:700px;
    overflow: hidden;
    display: inline-block;
    background-size: cover;
    background-repeat: no-repeat;
    background-position:top-center;
}

the above given is my css code if anyone wants to help and want any other code of mine then please tell

Rwd
  • 34,180
  • 6
  • 64
  • 78
Jeffrin Jose
  • 109
  • 14

0 Answers0