Picture rotation issue

stompandgo

Well-Known Member
Region
USA
I am having issues with posting pictures (images) on this forum. I think it has to do with metadata. When I post a correctly oriented photo, I am taking the picture with my phone held horizontally (landscape mode). With the incorrectly oriented photos, I am taking the picture with my phone held vertically (portrait mode). Either the picture metadata isn't telling Zenforo that it's in that mode, or Zenforo isn't recognizing it.

My forum photos are taken with a Samsung Galaxy S25+. Before I post the photo, I resize it using the Windows Photos app on my Windows 11 computer, in order to get the image size <2.0MB. I am viewing the forum using Mozilla Firefox.

I'd like to use this thread to help diagnose the issue and figure out a workaround. Admins can delete it afterwards if needed.
 
You can probably use AI to create a (java/python/etc) script to do the batch editing. I’ve used scripts, for other file types, that do similar things, but I’m not much of a coder and have a full time job with kids. So not much spare time either. Lol
 
My forum photos are taken with a Samsung Galaxy S25+. Before I post the photo, I resize it using the Windows Photos app on my Windows 11 computer, in order to get the image size <2.0MB. I am viewing the forum using Mozilla Firefox.
On my Galaxy S22+ I do any required photograph resizing using the Android app Photo & Picture Resizer. You can specify target file size and optionally resize in batches. Also have the option to resize according to pixel dimensions or quality (compression). The original photos are not changed and the resized are renamed. Works well.

Using that may avoid the issue you're experiencing.

Cheers
 
Last edited:
I never have this problem, it must be you.
gettyimages-85753697-1024x1024.jpg
 
I wish people would read the replies before replying. 😁😁😁

I am using the PowerToys Image Resizer in batch mode.
I do not want to resize on the phone because I want to download the original in it's full glory.
I do not want to run the forum on my phone.

The root cause of the rotation problem is what I thought it was, the picture metadata. The orientation is correct on the phone. The problem was caused by the resizing software ignoring picture metadata. I proved this with the Image Resizer, which has an "Ignore Picture Metadata" option. When checked, the picture orientation was changed. When unchecked, the orientation was correct.

I'm a hardware guy, not a software guy, so these things take me time to figure out.
 
I wish people would read the replies before replying. 😁😁😁

I am using the PowerToys Image Resizer in batch mode.
I do not want to resize on the phone because I want to download the original in it's full glory.
I do not want to run the forum on my phone.

The root cause of the rotation problem is what I thought it was, the picture metadata. The orientation is correct on the phone. The problem was caused by the resizing software ignoring picture metadata. I proved this with the Image Resizer, which has an "Ignore Picture Metadata" option. When checked, the picture orientation was changed. When unchecked, the orientation was correct.

I'm a hardware guy, not a software guy, so these things take me time to figure out.
Good to know the cause, Chris. Why are you configured to ignore the metadata (if you don’t mind me asking)? If I’m not mistaken, the forum software can (should) be set up NOT to use (or, especially, store) metadata with your uploaded pictures. I don’t know if that’s true here; I hope so. Storing the metadata online is a security risk that should not be taken on a public forum (IMO).
 
Good to know the cause, Chris. Why are you configured to ignore the metadata (if you don’t mind me asking)? If I’m not mistaken, the forum software can (should) be set up NOT to use (or, especially, store) metadata with your uploaded pictures. I don’t know if that’s true here; I hope so. Storing the metadata online is a security risk that should not be taken on a public forum (IMO).
It wasn't my phone or the forum. It was the PC software that I was using to resize the picture in between downloading from the phone and uploading to the forum. I tried Windows Photos and Canon Digital Photo Professional, two that I use regularly. Both ignored the metadata, with no way to change this behavior (that I could find). The PowerToys Image resizer, a Windows app, gives you the choice to ignore metadata or not.

My process going forward is:

Take pictures on the phone.
Download pictures from the Gallery to my Windows forum folder in full resolution.
Open Power Toys Image Resizer and select all the photos that I want to post.
Select the "Large" image size and save. Each photo's name will be appended with "(Large)".
Post and upload the photos to the forum reply.

If the image has a lot of content, "Large" may be too big. I'll know by looking in the folder. If so, I'll resize them to "Medium".

I could shoot in RAW but that adds another step that isn't apparent on a forum.

I don't know about any security risk. I don't know where to find metadata or how to interpret it. I'm a hardware guy, remember? :)
 
It wasn't my phone or the forum. It was the PC software that I was using to resize the picture in between downloading from the phone and uploading to the forum. I tried Windows Photos and Canon Digital Photo Professional, two that I use regularly. Both ignored the metadata, with no way to change this behavior (that I could find). The PowerToys Image resizer, a Windows app, gives you the choice to ignore metadata or not.

My process going forward is:

Take pictures on the phone.
Download pictures from the Gallery to my Windows forum folder in full resolution.
Open Power Toys Image Resizer and select all the photos that I want to post.
Select the "Large" image size and save. Each photo's name will be appended with "(Large)".
Post and upload the photos to the forum reply.

If the image has a lot of content, "Large" may be too big. I'll know by looking in the folder. If so, I'll resize them to "Medium".

I could shoot in RAW but that adds another step that isn't apparent on a forum.

I don't know about any security risk. I don't know where to find metadata or how to interpret it. I'm a hardware guy, remember? :)
:) I’m a software guy who worked with new hardware projects most of his career. So, yeah… I know you well even though I don’t know you! :D

The security stuff I’m talking about, like location information and information about your camera/phone is not smart to have public.

Got it. Well, your process sounds good, Chris. I presume (probably incorrectly) that Windows Photos could do this for you, but possibly not in batch form.

As a Mac user, I use Mac’s Photos to export my iPhone HEIC-formatted pictures into JPEG, and I specify the size I want for JPEG… Also, Mac’s Preview, which is the default program when I open a JPEG file has a nice resizing option which I also use on JPEGs that are too large.
 
Back