VOOZH about

URL: http://symphonyextensions.com/extensions/upload_fix_jpeg_orientation/

⇱ Upload Fix JPEG Orientation — Custom functionalities for the upload field (frontend/backend). — Symphony CMS Extensions


Symphony Extensions

Symphony CMS

Follow @symextensions for updates to the 412 extensions that we track. What is this?

What is symphonyextensions.com?

Symphony Extensions tracks Symphony CMS extensions that are hosted on Github.

How do I submit an extension?

Host your extension on Github and make sure the repository has a good README and an extension.meta.xml file. Then sign in to this site using your GitHub profile where you will see a list of your public repositories. Pick one, and add it to the site. When you make changes, just update the XML file in your repository and we do the rest.

What is an extension.meta.xml file?

It is an XML file that you add to your repository to describe your extension. You can include a name and description, developer contact details, version history, changelog, dependencies and more. Please read the documentation for a full list. You can use the lint tool to check your XML against the schema before submitting your extension to the site.

Who runs this site?

This site is now run by the community @symextensions. The site was created by nickdunn. Contact him at @nickdunn

Found a bug?

Please report it here.

1.0.2releasedUpload Fix JPEG Orientation

Custom functionalities for the upload field (frontend/backend).

Clone URLhttps://github.com/tiloschroeder/upload_fix_jpeg_orientation.git

Add as a submodulegit submodule add https://github.com/tiloschroeder/upload_fix_jpeg_orientation.git extensions/upload_fix_jpeg_orientation --recursive

Download
.tar.gz, .zip
Links
Github, Issues

👁 tiloschroeder
Tilo Schrödertiloschroeder2 extensions

Compatibility

2.x.x2.1.x2.2.x2.3.x2.4.x2.5.x2.6.x2.7.02.7.12.7.22.7.32.7.42.7.52.7.62.7.72.7.82.7.92.7.10
NoNoNoNoNoNoNo1.0.21.0.21.0.21.0.21.0.21.0.21.0.21.0.21.0.21.0.21.0.2
Symphony VersionExtension version
2.7.101.0.2
2.7.91.0.2
2.7.81.0.2
2.7.71.0.2
2.7.61.0.2
2.7.51.0.2
2.7.41.0.2
2.7.31.0.2
2.7.21.0.2
2.7.11.0.2
2.7.01.0.2
2.6.xNo
2.5.xNo
2.4.xNo
2.3.xNo
2.2.xNo
2.1.xNo
2.x.xNo

Readme

Upload Fix JPEG Orientation

Purpose

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).

Installation

  1. Upload the 'uploadfixjpeg_orientation' folder to your Symphony 'extensions' folder.
  2. 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'.
  3. Add a delegate (the hack) as described below.

The hack: Add a delegate

To get this extension to work, it needs a delegate in the upload function of Symphony (What is a delegate?).

  1. Go to the folder symphony/lib/toolkit and open the file class.general.php.
  2. After line 1468 insert the following line: php 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.

Version history

1.0.201 July 2019

Symphony 2.7.0 to 2.7.x

 - Bug fix for uploaded images with corrupt header
	

1.0.108 April 2019

Symphony 2.7.0 to 2.7.x

 - Edit readme
	

1.0.007 April 2019

Symphony 2.7.0 to 2.7.x

 - Initial release