I want to resize the images during upload to a small size so that they take less time while loading on the website.
And I also want to maintain the aspect ratio so that a portrait image doesn't get stretched and a landscape image doesn't get squeezed.That is without changing the actual dimensions of the image.