3
I created a site for a joinery where the user uploads the photos of the work done by the joinery, only when the user uploads photos taken from a particular phone, the photos are displayed horizontally on the site, I was able to solve the problem by checking the image’s Exif and rotating it when necessary, so far so good, works perfectly on my local server (XAMPP)but when I upload the files to the server my client hired to host the site I have the following error:
PHP Fatal error: Call to Undefined Function exif_read_data(), the PHP version of my XAMPP is 5.6 and the contracted server is 5.4, I don’t know any other way to check the image data, but I need to solve this problem, I would appreciate it if someone knew otherwise.
Do not use tags that have nothing to do with the problem. Understand as a constructive criticism.
– Guilherme Nascimento