Why when I upload image php change its width height on each other?

0 like 0 dislike
4 views
5ae2f6df284c3432026545.png
Upload the picture, it imagecreatefromjpeg creatu. those that are horizontal, are without problems in the further processing, and vertical flips the php side.. what could it be?
by | 4 views

1 Answer

0 like 0 dislike
Due to the exif information in the image file. Remove exif when uploading to the server problems will probably disappear.
by
110,608 questions
257,186 answers
0 comments
33,868 users