joef

Test upload of photos.

B3DD9B9.jpeg 

0FF7244.jpeg 

ADD2C30.jpeg 

1C4F776.jpeg 

Joe Fugate​
Publisher, Model Railroad Hobbyist magazine

[siskiyouBtn]

Read my blog

Reply 0
Craig Townsend

Preview and post the same?

This was the issue I was having earlier. The preview showed the correct orientation, but the post swapped it.

 

Also I've noticed the big (800+ pixel) original phots seem more prone to flipping.

Reply 0
joef

Upload from my PC after a small edit ...

Photos test. This is also how they look on the phone.

MG-0388w.jpg 

MG-0389w.jpg 

MG-0390w.jpg 

MG-0391w.jpg 

 

Joe Fugate​
Publisher, Model Railroad Hobbyist magazine

[siskiyouBtn]

Read my blog

Reply 0
Prof_Klyzlr

While we're checking pics...

Dear Joe,

While you're checking pic handling behaviour,
pls also confirm that the "auto-generated click-for-full-res" feature is correctly operating for pics which are uploaded at > 800-pixels-wide (EG the image file itself is maybe 2400 x 1600?),
but are adjusted in the posting process to the approved < 750-pixels display width...

Some recent uses of this function have not resulted in the expected
"float the cursor over the pic, and get a clickable "see complete image in new tab" link"

meaning that the user has to resort to manually
"right-click --> Open image in new tab"...
(Tested in recent Chrome instances on Win7 and 10)

Happy Modelling,
Aim to Improve,
Prof Klyzlr

PS with the new website, will we need to update the procedures in the 
"How-to-post-a-pic" and "how-to-embed-a-YT-video" threads?

Reply 0
joef

Bottom line ... web server rotates photos 90 degrees left

Bottom line ... web server rotates photos 90 degrees left. I tested the new forum web server and same thing ... it rotates the photos 90 degrees left just like this web server does. I have filed a ticket with the new forum support folks to see if we can get this resolved before going live. I'm not happy -- this is the first major shortcoming I've found in the new forum.

Joe Fugate​
Publisher, Model Railroad Hobbyist magazine

[siskiyouBtn]

Read my blog

Reply 0
eastwind

Can I help?

7_000517.jpg 

You can call me EW. Here's my blog index

Reply 0
Oztrainz

Photo rotate

HI Joe,

previously for an 800x600 pixel photo, Landscape mode was operating correctly (before and after being resized to 750 pixels wide for display), but at some time in the recent past, a change caused all portrait mode photos to be displayed incorrectly (rotated and then the shorter 600 pixel dimension was stretched to 800 pixels tall [as should have been for portrait mode]) (See  https://forum.mrhmag.com/post/photo-orientation-test-12216750

This change affected portrait mode photos that had been correctly loaded previously and had previously been displaying OK in portrait mode. 

For example - this photo was loaded in portrait mode and correctly displayed in 2017 in the blog with the track running vertically in portrait mode. The server setting for this photo when uploaded were 480 pixels wide by 640 high (aka width< height = portrait mode) but with the long axis horizontal on the sever.  It now displays with the image rotated and what was the 480 pixels horizontal dimension before rotation stretched to 640 pixels.

1010253a.JPG 

When the image in the post is right clicked the image dimensions now appear blank. Hopefully when I post this reply the image will stay "stuck" with the grass displaying at the top edge, as I see it now while creating this post.

Tonight I went in and played with the rotation of the server image and forced rotations until it appeared correctly oriented. Check out the top photo at  image reload - the ski jump  to see what this photo should still have looked like.

A suggestion for the missing code - If " image width"> "image height" then display as "portrait mode" (rotate image 90 degrees right and display as per pixel dimensions)   

Regards,

John Garaty

Unanderra in oz

Read my Blog

Reply 0
Oztrainz

further thoughts

Hi Joe,

Doing the rotate of images on the server not fix the wrong orientation problem when the page and post containing that photo was re-displayed. Re-displaying a page did not force the post to go get the revised photo from the server. I was kind of hoping it would but it didn't. The way I got that correctly oriented ski jump photo to appear was to edit the post, and then to delete the photo, and then reload the link to the photo on the server checking that the photo was in portrait mode before saving the post. 

When the post was re-displayed after editing the ski jump was facing the way a ski jump should. 

Anyone going the the ski jump post via the link in the previous post will find another broken portrait mode photo in the following post.    

I probably shoot more portrait mode photos than most because of some of the more technical stuff I'm interested in (like the mountains around Field in Canada (these were manually fudged to get them right-way-up) and head-on shots of locomotives in museums), so it's likely that I have more broken photos that are laid over and stretched on here than most.  

That ski-jump photo after it was "fixed" is still showing 480 wide by 640 high on the server, (aka portrait mode), as it was previously. 

If a fix is generated by a programmer I'm hoping that the "programming fix" won't undo the manual fixes. It shouldn't because the result of the fix should be the same as the manual fix when viewed in the finished post to the forum - but.... 

Daft thought from the sidelines - Is there some unique feature from an image that says "Hey I'm from a mobile phone!" that is carried with the image when it is loaded to the server?

I'm talking something that is "generic", not something "specific" like a mobile phone make or model. Specifics like in the last sentence would be a a real problem  to maintain in a reference table somewhere that is checked when the photo is uploaded to the server because it is too easy to miss one (brand, model etc) and still have tilted photos occurring every time someone uploads a photo from a mobile phone.  

Regards,

John Garaty

Unanderra in oz

Read my Blog

Reply 0
costin g

remove the exif rotation tag

If you rotate them server side, make sure to also remove the original exif Orientation tag, otherwise some clients will re-up it.

Reply 0
Reply