Images are getting rotated. They are not rotated on my local system. How can I fix?
I will post a link in private message.
I will post a link in private message.
This is a site I set up for a client and the majority of her images are getting rotated. I downloaded the image, rotated it on my local and it rotates for me too.
If you give me FTP access then I can probably get this fixed for you.
The image isn't actually being rotated. The image was taken from a smart phone and it is actually rotated by the phone to appear correct when viewing with the phone.
Newer versions of our image resizer will automatically rotate the image to show it correctly. I think I can just update the file to fix this issue on your site.
That would be awesome! I am adding FTP info in private message
The issue appears to be that your server doesn't have the exif library installed. That is the library that is used to determine the orientation of images uploaded from a camera and detect the orientation so it can be rotated properly.
I was able to resolve the issue by uploading an alternative library and detecting the missing function in the code. You can fix it by copying the files:
webassist/plugins/catalog/scripts/resize_image.php
webassist/plugins/catalog/scripts/exif.php
webassist/plugins/catalog/scripts/makers/ (the entire directory)
After updating those files on your shopfullhorse site the issue has been resolved. You can take the files from that site to fix it on others that have the same issue.
After updating the files you would have to delete the folder:
webassist/plugins/catalog/scripts/image_cache/
That would force it to re-generate any images that were wrong.
I was able to get that resolved. It was an issue with the resize_image.php file that I was able to fix.
OK, thank you very much! We also applied made the recommended changes to the server.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.