SMF Development > Feature Requests

Auto-Rotation of pictures

(1/3) > >>

I've read several posts about this.  Essentially, someone posts a picture from their phone and when the attachment is accessed, its sideways.  Apparently the thumbnail that the iDevice creates is oriented correctly, but the image itself isn't.  I suspect that data is stored in EXIF data somewhere.

It's also my understanding that this has been handled in at least one gallery product, but I'm not positive of that.  I've read that its not broken and won't be fixed.  I've read its non-trivial.  I've read that simply because ipboard and vBulletin have a feature isn't justification enough for it to be implemented in smf.

I'm hemorrhaging users who are becoming accustomed to Facebook handling the resizing and auto-rotating of images with the click of the upload/post button.  Turns out, the only other major forum whose niche my forum shares also manages to handle both these issues with aplumb.

Could anyone point me to where those changes would need to be made if this can't be dealt with officially?

That's something I also think should exist but unfortunately it's out of my coding league...
This should be pretty much it
(adapted to SMF's guts of course :P )


--- Quote from: bwaynef on February 07, 2016, 09:16:56 PM --- aplumb
--- End quote ---

It's aplomb.  Hopefully you'll let me blame this on posting late at night.

Are you talking ONLY about attachments?  OR are you asking about regular images, such as those produced by the [url=x]y[/url] and [url]x[/url] constructs as well?  Cause I think I can whip something up for just attachments.....  If you are asking about image rotation for the other thing I mentioned, then that can definitely be time-consuming and would in most cases be better off storing the modified pictures on the server itself, you know, kinda like "process-once-show-many" process....

Nick Elk's code. They implemented this some time back. ;)


[0] Message Index

[#] Next page

Go to full version