Wrong way round pics. I have a theory. Solved see #4

10 posts / 0 new
Last post
anthonym
anthonym's picture
Offline
Last seen: 8 hours 54 min ago
Joined: 17/04/2014
Wrong way round pics. I have a theory. Solved see #4

or better than #4 this workaround  https://www.caterhamlotus7.club/comment/2400087#comment-2400087

perfectly spotted by aerobod

On an iPhone or iPad all you need to do is make a small edit (such as crop or change the contrast) when the jpeg version of the photo is in the desired orientation and re-save the photo, updates the EXIF tags for compatibility with this site. No need to transfer to another platform or use any other editor not standard on the iOS platform.

having said that my little exploration is about WHY this happens trying to guess the droopal (drupal) code issue.

OP:

The other day/week I uploaded a pic using every which way and still it was wrong. 

So I cropped it a bit narrower and presto! It was the right way up. 
 

So theory is pics might need to be in portrait not landscape

Or hypothesis 2 there is a width restriction which if exceeded the pic is swivelled. 
 

of course if we could see the code we might be able to see the parameters .

reds Anthony 

Jonathan Kay
Jonathan Kay's picture
Offline
Last seen: 23 min 47 sec ago
Joined: 17/04/2014

The cause and the workaround and the hindsight fix are described in the Forum User Guide.

Usual offer of help for any Member who can't get these to work or wants to play.

Jonathan

anthonym
anthonym's picture
Offline
Last seen: 8 hours 54 min ago
Joined: 17/04/2014

and a little googling offers this:

https://ruk.ca/content/fixing-problem-sideways-iphone-photos-uploaded-drupal

extract

What’s happening is that when an iPhone takes a photo, the only time the orientation of the pixels of the photo are “correct” is when the camera is situated such that the home button is on the right and the orientation is landscape. In all other situations–like a portrait photo, for example–the pixels don’t get moved, but the orientation gets burned into the EXIF data of the resulting image.

In other words, there’s a secret message inside the photo that says “despite all appearances to the contrary, I’m actually a portrait photo.”

 

begs the question is it just iphones? I seem to think not dot dot dot

Anthony

 

/sites/default/files/styles/ckeditor_upload/public/inline/images/

so it's a default "style" and these  allow this: see where it says "rotate"

To create or change image styles:

Choose Administration > Configuration > Media > Image styles.

Add or select a style to edit its settings.

When configuring styles you can add effects: crop, scale, resize, rotate, and desaturate (other contributed modules provide additional effects). For example, by combining effects as crop, scale, and desaturate, you can create square, grayscale thumbnails.

Save the settings.

anthonym
anthonym's picture
Offline
Last seen: 8 hours 54 min ago
Joined: 17/04/2014

sorry missed#2

so it IS just IOS devices? as https://www.caterhamlotus7.club/comment/2323111#comment-2323111

is the iphone fix I mention above.

reading further

aha! https://www.caterhamlotus7.club/comment/2400087#comment-2400087

On an iPhone or iPad all you need to do is make a small edit (such as crop or change the contrast) when the jpeg version of the photo is in the desired orientation and re-save the photo, updates the EXIF tags for compatibility with this site. No need to transfer to another platform or use any other editor not standard on the iOS platform.

linky add in here would be good:

https://www.caterhamlotus7.club/comment/2400088#comment-2400088

I'll summarise this when it's all in.

Jonathan Kay
Jonathan Kay's picture
Offline
Last seen: 23 min 47 sec ago
Joined: 17/04/2014

Please could you do that in the Forum User Guide thread. It's much easier to find and discuss these solutions and the advice if they're in one place.

Thanks

Jonathan

anthonym
anthonym's picture
Offline
Last seen: 8 hours 54 min ago
Joined: 17/04/2014

My links are to that thread once you had apprised me of it. - Welcome, Anthony

anthonym
anthonym's picture
Offline
Last seen: 8 hours 54 min ago
Joined: 17/04/2014

so did you do a summary in the end?

Jonathan Kay
Jonathan Kay's picture
Offline
Last seen: 23 min 47 sec ago
Joined: 17/04/2014

Sorry. I hadn't realised that you were quoting me. I thought that you were proposing to write a summary.

We don't yet have enough information on Android devices.

Jonathan

Golf Juliet Tango
Offline
Last seen: 25 min 13 sec ago
Joined: 17/04/2014

so it IS just IOS devices

I think so. Look at the "Unusual Sightings" thread. All of my pictures are posted easily, directly and unedited from an Android phone. 

https://www.caterhamlotus7.club/forum/spotted/unusual-sighting

Or my post just now of "Classic Days" portrait & landscape, in correct orientation, uploaded directly from my phone.

 https://www.caterhamlotus7.club/forum/chitchat/classic-days-formerly-schloss-dyck-2022-will-take-place-d%C3%BCsseldorf-time?page=1

Stephen

Democratic dissent is not disloyalty, it is a positive civic duty

anthonym
anthonym's picture
Offline
Last seen: 8 hours 54 min ago
Joined: 17/04/2014

I seem to think, yes IOS but not always.