PDA

View Full Version : Rotated images test



Jim
March 27th, 2020, 06:23 PM
iPhone 7 images. via Phone - taken, cropped for smaller size, uploaded to the post.

speedkills
March 27th, 2020, 06:47 PM
This is a test of the emergency entertainment system.

open_circuit
March 27th, 2020, 08:13 PM
No good on auto rotate yet. I like seeing the permanent CB in that rig, Shane. That should be a nice improvement over the portable.

Jim
March 27th, 2020, 08:23 PM
Let's have some folks posting images from different OS's / devices.

So far, my iPhone 7 images work as desired but Shane's do not. What device / OS are you using Shane?

The StRanger
March 27th, 2020, 09:05 PM
Wife.

speedkills
March 27th, 2020, 09:08 PM
No good on auto rotate yet. I like seeing the permanent CB in that rig, Shane. That should be a nice improvement over the portable.

Max talked me into finally getting a decent CB, haven't gotten around to mounting the antenna yet though, need to find a nice way to route the cable. Could be this weekends project.

speedkills
March 27th, 2020, 09:09 PM
Not sure what it is about it, but I always enjoy seeing an engine on a stand, feels like good things are going to happen soon.

Jim
March 28th, 2020, 11:48 AM
Shane - what device / OS are you using for your pictures? Are you uploading them direct from the device to the forum or is there an intermediate step you're using? What is different for your pictures than mine and Sam.

speedkills
March 28th, 2020, 12:21 PM
I'm using an iPhone 11 max. Uploading directly from my device. It works if I upload to any other forum, or any other forum and link to it from here, just not directly from here. Didn't mean to cause so much trouble with this, I thought this was just a known forum issue with the image rendering software with a known fix to swap it out for a different one but I hate to have you go through all of this effort just for me, and it seems not to impact anyone else. I wonder if I'm the only one using a newer iPhone, or if everyone else uploads from a laptop maybe?

open_circuit
March 28th, 2020, 12:23 PM
I have other issues with the forum image software (apparently I exceeded image quota, but Jim can't find where a quota is set), so I don't upload directly to the forums any longer at all. Either way, I don't often use my phone to post here, because the forum is painful to use on a small mobile device.

Jim
March 28th, 2020, 12:23 PM
Thx.

It has been a long time, somewhat under the radar, issue. Now is a good time to clean this cobweb out of the engine bay.

Jim
March 28th, 2020, 12:25 PM
(apparently I exceeded image quota, but Jim can't find where a quota is set)

Please refresh my memory. Image quotas (max width/height, file size) are listed on the image upload page.

speedkills
March 28th, 2020, 12:26 PM
Oh yeah, come to think of it Trent, I post about 2/3rd of the time from my iPad, but same issues.

open_circuit
March 28th, 2020, 01:07 PM
Please refresh my memory. Image quotas (max width/height, file size) are listed on the image upload page.

If I try to upload a new photo, I get a pop-up windows that says:
Front Range 4x4 Message

This photo exceeds your total album file-size quota by 929.2 KB.

Note that this pop-up window and message is the only thing I get now when I click "upload pictures" from my photo albums page when logged in.

So the only way for me to get under the limit is to delete old photos, which are generally linked in old trail run report threads. I'm stuck with a choice of breaking the old threads or not uploading any new photos.

Jim
March 28th, 2020, 02:53 PM
Thanks. Let me do some digging...

Jim
March 28th, 2020, 04:07 PM
Trent - Thanks for the note. Please try uploading again. I think I found the setting. This graphic might be of interest.

Jim
March 28th, 2020, 04:09 PM
Shane - Try an iPad photo upload - might it work differently than your iPhone?

open_circuit
March 28th, 2020, 04:11 PM
Trent - Thanks for the note. Please try uploading again. I think I found the setting. This graphic might be of interest.

Looks like success. I did not receive the error message when I hit the upload button. I have to find a photo to upload this afternoon and try to take this to it's conclusion.

Tom
March 28th, 2020, 04:12 PM
Ipad photo uploads. The rotated one was taken in portrait mode

Spieg
March 28th, 2020, 06:45 PM
I believe I have encountered the rotation issue on another forum that used the same platform as FR4x4 ("vBulletin" I think is the name?). IIRC, the problem is that Apple does not use the same method of designating which way is up as most/all other cameras or phones (leave it to Apple to be different just for the heck of it). The vBulletin developers have been aware of the problem for years but apparently have no intention of fixing it. Other platforms have developed methods to compensate for the issue with Apple photos.

speedkills
March 28th, 2020, 10:47 PM
As I read it, there are 3 image rendering library options for vBullitin, only one of them supports the apple rotation flag. If that is the case, i can understand why vBullitin devs don't want to address it themselves, as it's a layer below them and they want you to just swap out the rendering library. Of course, I may have read that wrong, but do we have the ability to find out what rendering library is used on our server? Is it one or multiple servers? In someones garage, or hosted by a hosting service?

speedkills
March 28th, 2020, 11:08 PM
Reading a bit more into this as I've done some imaging software in the past, the specification Apple uses is plain old Exif (https://en.m.wikipedia.org/wiki/Exif) buuuuut, vbulletin doesn't support Exif which surprised me a bit, I thought everyone and their uncle supported Exif, but maybe vBulletin is drunk uncle? Jim, do you know which version of vBulletin we are running?

The latest info I see on version 5.5.5 is that if imagick is used exif rotation will be respected, it will not for GD. There is also an open issue from 4 years ago to add a manual rotation button, but that looks like it will never happen, and I suppose if there is a library that makes auto-rotation work then it's probably of fairly low value for them to add a button.

I can certainly see why they would strip Exif data out, it may have gps location and other private data in it, but they really should have saved the orientation data before throwing the Exif data away.

speedkills
March 28th, 2020, 11:22 PM
GD says they will never fix the rotation issue, because the bug was around for so long that people have worked around it themselves, basically depending on the bug so now they can never fix it. https://github.com/libgd/libgd/issues/341 Oh man, software is hard, I've run into this many times before (hyrem's law I think?), and of course, there is even an XKCD about it. https://xkcd.com/1172/

Jim
March 28th, 2020, 11:23 PM
vBulletin centric hosting service. Shared server I believe / nothing special.

vBulletin Image Settings: None, GD, ImageMagick 6 with ImageMagick currently enabled.

A primary reason I didn't stir the waters to tend this in the past is that this version of vBulletin is not mobile friendly. Overall, if we wish to have a mobile friendly forum, which would include image rotation, we're switching versions. I believe I did stir the waters on "do we wish to upgrade" and as I recall - let it be was the answer (otherwise we would have changed). If anyone wishes to stir the waters, start a thread in this forum and we'll see where it goes. I'm game though it's a group decision.

Jim
March 28th, 2020, 11:35 PM
which version of vBulletin we are running?

4.2.5

Chris built this place. I ended up with the keys and mostly change oil, keep the tank full, and enjoy the ride.

Jim
March 28th, 2020, 11:45 PM
Possible forum rebuild thread from 2015
www.frontrange4x4.com/forums/showthread.php?24011-Possible-Forum-Rebuild-What-features-do-we-need-want-post-build (http://www.frontrange4x4.com/forums/showthread.php?24011-Possible-Forum-Rebuild-What-features-do-we-need-want-post-build)

Back then we were having issues of forum bombs - requiring our host either restoring from backup or tending the issue. In the end, they dug into the error and found some long turned-off, but still installed, plug-in issue. They disabled it and we've been up since then (years). The mobile friendly and rotated images issues were on the table back then.

speedkills
March 29th, 2020, 12:00 AM
Thanks for the version number Jim. If we're on 4.2.5 then ImageMagick alone wouldn't fix it (as we can see) but at least it means the software is available on the server to fix it. Do we have the ability to install plugins? There is a plugin specifically for v4 with ImageMagick that is supposed to fix the problem by adding the -auto-rotate flag to calls to ImageMagick.

https://www.vbulletin.org/forum/showthread.php?t=318291

speedkills
March 29th, 2020, 12:02 AM
Also, for kicks I'm going to test upoading an image from my ipad that is quite small, to see if it bypasses the image resizing library and maybe just works. Not expecting much, but worth a test.

speedkills
March 29th, 2020, 12:02 AM
Oh well, no luck there.

Jim
March 29th, 2020, 12:08 AM
I'll give that plug-in a try before closing shop for the night...

Jim
March 29th, 2020, 12:16 AM
Try it now.

EDIT: Of note, images uploaded prior stay as they were uploaded. New uploads are supposed to be tended and auto-rotated upright.

Of note, folks, please comment to me if you have problems with photo uploads. Comments on this add-in are that some have issues with image attachment uploads failing.

speedkills
March 29th, 2020, 12:45 AM
testing

Tom
March 29th, 2020, 06:11 AM
Testing

Jim
March 29th, 2020, 03:22 PM
Another “taken sideways” from my phone since making forum change.

(edit - and it shows in proper orientation).

Hmm - I learned something new (and is an often problem for folks - photo size being too large for forum use)! On the phone, there was a blue link on the photo selection page (photo size) where I could choose different sizes - NICE! (IOS v13.4)

Tom
March 29th, 2020, 07:39 PM
Test still rotated here

speedkills
April 10th, 2020, 01:10 PM
Sorry I just disappeared in the middle of testing, I haven't been feeling well but better now.

Jim
April 10th, 2020, 03:11 PM
`hope you'e doing better.

IMO - it'll remain an unresolved issue as long as we're with v4 vBulletin.

speedkills
April 10th, 2020, 08:48 PM
I sure appreciate you taking a swing at it, and I'm inclined to agree with you about v4.