Image Posting Tests

User avatar
pedant
Admin
Posts: 1516
Joined: Fri Sep 29, 2017 4:35 am
Location: Chicago
Contact:

Tue Nov 21, 2017 4:20 am

debunix wrote:
Sat Nov 18, 2017 11:20 am
That looks ok, except for some reason I am seeing the image rotated on my laptop Firefox, but it shows correctly--with the bottom of the cup at the bottom of the image--on my phone. Surreal. Off to check Safari....
the issue you're experiencing is described here:
http://sethfowler.org/blog/2013/09/13/n ... ientation/

firefox implemented a css property that devs can use to make the browser properly orient images like yours.
i've just added it to the forum, so it should show up the right way in desktop firefox now.

unfortunately, i don't think any other desktop browsers have implemented that css property or an equivalent.

on the bright side, i've tweaked the phpBB image resizing plugin i wrote to rotate images like yours so that all browsers will display them properly.
however, if someone uploads an affected image that is sufficiently small, then my plugin won't be triggered (no need to resize an image if it's already small), and in that case it also won't get auto-rotated.

if you want to help test, try uploading that same image again. my plugin should auto-rotate it next time.
User avatar
debunix
Posts: 1812
Joined: Sat Oct 21, 2017 1:27 am
Location: Los Angeles, CA

Tue Nov 21, 2017 2:36 pm

Testing with another unretouched phone image of the satellite office tea setup and a highly cropped little bee...
Attachments
7097158F-98DB-4C83-85DB-D78CA6E5002F.jpeg
7097158F-98DB-4C83-85DB-D78CA6E5002F.jpeg (43.87 KiB) Viewed 10136 times
98AC5AAC-00D2-4DDB-BB87-78F26265F403.jpeg
98AC5AAC-00D2-4DDB-BB87-78F26265F403.jpeg (207.08 KiB) Viewed 10136 times
User avatar
debunix
Posts: 1812
Joined: Sat Oct 21, 2017 1:27 am
Location: Los Angeles, CA

Tue Nov 21, 2017 2:38 pm

The original blue cup is now upright, as are the two test shots--one another straight-up iPhone image, and one a tightly cropped little bee who is appropriately upright per Firefox. Now to check Safari....and all are correctly upright. Looking good!
Testuser
Posts: 1
Joined: Mon Oct 02, 2017 12:58 pm
Location: /dev/null

Fri Dec 22, 2017 5:23 pm

a test post, just ignore this. tyy!
Last edited by Testuser on Thu Dec 03, 2020 8:48 am, edited 1 time in total.
User avatar
Psyck
Posts: 112
Joined: Wed Oct 25, 2017 4:41 am
Location: Bangalore, India

Sun Dec 24, 2017 9:43 am

A seed I found in my tea.
Attachments
A seed I found in my tea.
A seed I found in my tea.
WhatsInMyTea.jpg (81.42 KiB) Viewed 10023 times
User avatar
Pants404
Posts: 77
Joined: Mon Dec 11, 2017 8:16 pm
Location: Adelaide, South Australia, Australia

Fri Jul 26, 2019 3:02 am

Testing
Attachments
IMG_20190626_101140.jpg
IMG_20190626_101140.jpg (286.81 KiB) Viewed 8899 times
faj
Posts: 710
Joined: Mon Oct 14, 2019 6:45 am
Location: Quebec

Fri May 08, 2020 7:15 am

Just a test, obviously.

Test
Test
x.jpg (466 Bytes) Viewed 8202 times

.
User avatar
pedant
Admin
Posts: 1516
Joined: Fri Sep 29, 2017 4:35 am
Location: Chicago
Contact:

Sat Nov 27, 2021 1:08 pm

IMG_3252.jpg
IMG_3252.jpg (176.68 KiB) Viewed 5907 times
User avatar
aet
Vendor
Posts: 409
Joined: Tue Feb 06, 2018 7:56 pm
Location: Kunming ( China )

Mon Apr 25, 2022 4:31 am

I don't know if there is option resizing the images? I'm also kinda lost in that Inline function. I make some messy posts , sorry ;(
ArneblTic
New user
Posts: 1
Joined: Mon Jan 15, 2024 7:37 am

Fri Jan 19, 2024 10:38 am

Have you encountered any challenges or limitations when testing the auto-rotation feature for images, and do you anticipate any issues related to image resizing or the Inline function that you've mentioned?
User avatar
pedant
Admin
Posts: 1516
Joined: Fri Sep 29, 2017 4:35 am
Location: Chicago
Contact:

Fri Jan 19, 2024 8:48 pm

not sure exactly what info you're looking for, but i am not thrilled with phpBB in general, and i had to implement something myself to get basic image uploading to be not-terrible.

images smaller than about 256K are stored untouched, so my auto-rotation thing won't even trigger on such images.

v2 of the forum will use different software (discourse) and also be hosted elsewhere with pretty much unlimited image storage space. it should be a much better UX once users get used to it.
Post Reply