Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hello, i have a problem.
I have a Umbraco site with members where a member can set a profile image. But when a member sets a image from an Iphone the image on the desktop and Umbraco are rotated. But when showed on iphone it seems fine.
But when shown from desktop it is rotated 90 degrees to the left.
I have read thats it´s because the image´s EXIF information. But have not found a solution.
Can someone help with a solution?
A simple fix could be to install tooorangey.uSpinMeRightRound.
The package let’s you rotate the image from the backoffice.
Thanks for reply.
I have tried to install that.
But then i get the following error:
In the configuration for Image Processor /config/imageprocessor/processing.config
there is a preserveExifMetaData option
<processing preserveExifMetaData="true" fixGamma="false" interceptAllRequests="false" allowCacheBuster="true">
and a plugin for AutoRotate:
<plugin name="AutoRotate" type="ImageProcessor.Web.Processors.AutoRotate, ImageProcessor.Web" enabled="true" />
but it depends if it's useful on other images to have the exif data preserved...
... so yes, uSpinMeRightRound allows you to rotate the image from the backoffice...
Do you have the tooorangey.uSpinMeRightRound dll in your bin folder?
Hmm nope, its not there.
Did you install via Nuget or via backoffice?
The dll is in the git repo:
I installed via Nuget: install-package tooorangey.uSpinMeRightRound
I downloaded the dll from git. Works now, will test with image rotate now. For now thank you very much! :-)
if I download the package from Nuget manually, and unzip the nupkg file.. it appears to be there in the /lib folder... but I'm not sure why that hasn't installed for you :-(
ahh cool you've got rid of the error!
It works, after rotate in backend the image shows fine both on mobile and desktop, just a little problem we have to rotate in backend.
Best scenario would be if it could work instead of the need to rotate. But this i can use for now. Thanks to both of you! :-)
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted