timthumb -> rotate image July 02, 2019, 03:44:17 PM Hi,In classic, when uploading a picture wich is in portrait with for example 1944x2542px size the app rotates the picture in list, view, edit.However, the file on the server (localhost/xampp) has not been rotated. I tested with and without the active resize options.How can i fix this?Thanks. Quote Selected
Re: timthumb -> rotate image Reply #1 – July 03, 2019, 11:49:01 AM @Eroll can i get a screen shot of only the file upload or display configuration in list, view, edit pages. Quote Selected
Re: timthumb -> rotate image Reply #2 – July 03, 2019, 12:59:37 PM Hi Wilvin,I have noticed that it's not happening with all images that have the same size mention above.Can you send me your email adress so i can send you the picture ( too big to post here), so you can investigateThanks Quote Selected
Re: timthumb -> rotate image Reply #3 – July 03, 2019, 01:17:04 PM I think this is the problem (see below links) because if I clean the exif with the images that cause the problem, everything is fine. I think you should then add a function that does this by default or by option.https://medium.com/thetiltblog/fixing-rotated-mobile-image-uploads-in-php-803bb96a852chttps://stackoverflow.com/questions/12774411/php-resizing-image-on-upload-rotates-the-image-when-i-dont-want-it-to Quote Selected Last Edit: July 03, 2019, 01:22:33 PM by Eroll
Re: timthumb -> rotate image Reply #4 – July 03, 2019, 01:50:21 PM @Eroll did this fix your issue? 👇Quote from: Eroll – July 03, 2019, 01:17:04 PMI think this is the problem (see below links) because if I clean the exif with the images that cause the problem, everything is fine. I think you should then add a function that does this by default or by option.https://medium.com/thetiltblog/fixing-rotated-mobile-image-uploads-in-php-803bb96a852chttps://stackoverflow.com/questions/12774411/php-resizing-image-on-upload-rotates-the-image-when-i-dont-want-it-to Quote Selected
Re: timthumb -> rotate image Reply #5 – July 03, 2019, 02:07:25 PM Yes and no. Removing the exif on the photo solved my issue but i do it with photoshop. but i didnt try to make it trough php with a function.What i suggest is that you implement such a function into phprad, by design Quote Selected
Re: timthumb -> rotate image Reply #7 – July 03, 2019, 03:12:56 PM Thank you.To make it clear, currently phprad displays the photo according to the information contained in the Exif infos (if any) of the downloaded photo. So if you have any exif information that says the photo is horizontal, php rad will show it horizontally even if you rotate the image vertically before uploading it.Many people do not know that this information is written in the file and therefore they think that the rotation they made before the upload is permanent.What would be interesting to have as a feature is the ability to disable the reading or even erase Exif informations in a uploaded photo.I already met this problem before in an application (made with phprad) for a cocktail contest where some photos taken with smartphones were rotated at the time of upload. I had to manually edit each of these photos.Cheers.Arnaud. Quote Selected
Re: timthumb -> rotate image Reply #8 – July 03, 2019, 03:16:00 PM Thanks for the info, noted. Quote Selected
Re: timthumb -> rotate image Reply #9 – July 03, 2019, 03:41:09 PM I think it can be done with jquery.blueimp.jshttps://github.com/blueimp/jQuery-File-Upload/wiki/Optionshttps://medium.com/@sst.trinath/uploading-images-single-multiple-in-react-js-removing-exif-data-at-client-side-and-display-3c02d94a9594 Quote Selected Last Edit: July 03, 2019, 03:45:02 PM by Eroll