This extension fixes the orientation of pictures with EXIF headers. It works in frontend and backend with the Symphony Upload field and the extension Field: Unique File Upload.
Note: This extension requires a little hack (use at your own risk).
- Upload the 'upload_fix_jpeg_orientation' folder to your Symphony 'extensions' folder.
- On the 'Extensions' page in the backend enable it by selecting the "Upload Fix JPEG Orientation", choose 'Enable' from the with-selected menu and click 'Apply'.
- Add a delegate (the hack) as described below.
To get this extension to work, it needs a delegate in the upload function of Symphony (What is a delegate?).
- Go to the folder
symphony/lib/toolkit
and open the fileclass.general.php
. - After
line 1468
insert the following line:
Symphony::ExtensionManager()->notifyMembers('ManipulateTmpFile', class_exists('Administration', false) ? '/backend/' : '/frontend/', array('tmp' => $tmp_name,));
Note: If you upgrade Symphony to a newer version and forget to re-insert the delegate, this extension will do nothing.