I have the image attached below with these specifics: Width: 3024px Height: 4032px
The getimagesize() function returns the opposite:
$size = GetimageSize("test.jpg");
echo "image width: " . $size[0] . ", height: " . $size[1];
image width: 4032, height: 3024
How is this possible?
You can try yourself using the image below.
* UPDATE * Removed image from the post and added a link to zip file (containing the image) because the image works fine after being processed from stack overflow. Tinyupload ZIP