So far every photo has been correctly orientated.
So far every photo has been correctly orientated. |
Thanks Deano. I'll keep you informed. It will save me hours of work and less frustration for my members. |
That basically just shuts off cheetahs auto rotate and lets the browser do it.
|
Yippee! That seems to work. For anyone trying it, make sure you clear the caches.
Thanks Deano. |
Reason antons mod works is because it does not try to rotate the photo. The browser handles it. $this->bImageAutoRotate = 1; Change to this. $this->bImageAutoRotate = 0; FileAPI.Image(file).preview(__preview_size__).rotate('auto').get(function (err, img){ Change to this. FileAPI.Image(file).preview(__preview_size__).rotate('none').get(function (err, img){
Save and try uploading again.
|
Oh gosh. As 99% of people take pics with a phone held vertically, I concede this is a big problem. It's interesting that Anton's module seems to get around the problem especially with modern browsers that everyone "should" have by now. See my files folder. I had to rotate every photo today. |
I believe i may have located the issue but it's not going to be easy to fix. |
Gee. That should read Simple Chat 2.0. By the way, it's a brilliant module. Ask Anton for a discount. Simple Chat is a one-on-one chat with the ability to include photos. I think it's possibly one of the best Modules Anton has created. |
For what it's worth, I'm using Anton's Simple Cat 2.0 module and pics are correctly orientated there. He doesn't use the photos module to upload photos, I think Modzzz does. |
They're being uploaded to a member's Photos folder using HTML5. I'm the only person who can upload tinymce photos and I reduce them to a very small size using Irfanview first. I've never had a problem. As I said, I always reduce my photos with Irfanview so I've never had a single problem. It's only when we try to upload photos as taken by the camera. Both the photos I sent you appear correctly in Windows Explorer. |
There's a zip file in my files folder called Photos. They're on page 2. Both photos should be vertical format, but when I uploaded them they were landscape. The bookcase is from my phone, the other is from another person's phone. |
Also more info. |
I'll look into it. It is possible for your to provide me with a couple of zipped up samples that always show up sideways?
|
Same old problem. I'm constantly having to rotate photos for members and it's driving me mad. So much so, I've been getting members to email me the photos. but guess what? They're all orientated correctly. Some are huge - 3 to 4 meg so I've been resizing them with IrfanView and resaving them. When I upload them, they're always correctly orientated. However, if I upload the original which is orientated correctly on my machine, it's sideways in Cheetah. So I thought I'd upload one of my own original vertical phone photos and yes, it was sideways. I've never noticed this before because I always tweak my photos with Irfanview. It seems Irfanview sets the orientation correctly, but Cheetah doesn't.
|