We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When uploading images that have rotation exif data, the image is not rotated, even if rotateImagesOnUploadByExifData is set to true in the config.
rotateImagesOnUploadByExifData
true
In fact, as far as I can tell, cleanImage in services/Images.php is only run when replaceAssetFile in services/Assets.php is triggered. If I upload and image, and then replace the file with the same one, it works as expected; the image is rotated on upload.
cleanImage
services/Images.php
replaceAssetFile
services/Assets.php
cleanImage also contains code to sanitize SVGs, so should probably be run on all uploads.
'rotateImagesOnUploadByExifData' => true
The text was updated successfully, but these errors were encountered:
+1 - same issue on version 2.6.3015 except my setting is set to false and rotation still occurs.
Sorry, something went wrong.
7b4e927
andris-sevcenko
No branches or pull requests
Description
When uploading images that have rotation exif data, the image is not rotated, even if
rotateImagesOnUploadByExifData
is set totrue
in the config.In fact, as far as I can tell,
cleanImage
inservices/Images.php
is only run whenreplaceAssetFile
inservices/Assets.php
is triggered. If I upload and image, and then replace the file with the same one, it works as expected; the image is rotated on upload.cleanImage
also contains code to sanitize SVGs, so should probably be run on all uploads.Steps to reproduce
'rotateImagesOnUploadByExifData' => true
in general.php.Additional info
The text was updated successfully, but these errors were encountered: