149 Posts
MtnPavlas
10 years ago
2
Topic

Anybody got an idea for how to auto-rotate uploaded images taken in a portrait (vertical) mode on smartphone? I realize image orientation recognition may not be straight-forward ... e.g. if I simply transfer images from my phone to my PC or Mac, it'll display sideways ... but if I upload it from the phone to e.g. Picasa or Facebook, it'll be displayed correctly. So this tells me there must be a way to tell how an image should be oriented. Could this somehow be added to the upload script or something?

Get a Book for SEBLOD
4229 Posts
Kadministrator
10 years ago
0
Level 1

Hi,

Picasa or Facebook use exif metadata to recognize correct image orientation, unfortunately basic php functions used in upload script are not so advanced, so you will need to rotate your iamges before upload.

149 Posts
MtnPavlas
10 years ago
0
Level 1

So to use, say, a javascript for this, should I submit a feature request in the Tracker?

Anybody on this forum implemented a plugin of this sort perhaps?

Get a VIP membership