Answer the question
In order to leave comments, you need to log in
Why does php change its width with height when loading an image?
Uploading an image, crying it out imagecreatefromjpeg. those that are horizontal go without problems during further processing, while the vertical php turns on its side .. what can be?
Answer the question
In order to leave comments, you need to log in
Because of the exif information in the image file. Remove exif when uploading to the server - I think the problems will disappear.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question