The resolution of this image is 3000*4000. width = 3000 and Height = 4000. url- https://ibb.co/0mKkWYD
getimagesize returning the height first because it is larger than width. So the resolution becomes 4000*3000, where the actual is 3000*4000. I need to know which is width and which is height. Is there any way?