Please read and follow the COMMON ISSUES first!
Always add your version information in every new post! Thank you!

Form2Content Forum

Questions and answers for Form2Content, a Joomla CCK.
  1. Frederic Espitalier
  2. F2C field types
  3. Monday, 16 March 2020
  4.  Subscribe via email
I am using Form2Content Pro version 6.17.4 with Joomla 3.9.16

Hi,
I have a problem with the Image-Gallery-Field,
when I upload an image with an iPhone (iPhone SE or iPadPro),
I click the "Browse"-Button, then 'take a photo',
then I take a photo in portrait and click on "use this photo"
then the photo will be uploaded and …
… it shows landscape instead of portrait.

What I found out:
it seems to be, that an iPhone lets the image pixels always in landscape
and puts the orientation information into the EXIF informations.
After the upload it has to be corrected and I found the correction code here:
https://stackoverflow.com/questions/22308921/fix-ios-picture-orientation-after-upload-php/22475806

On stack overflow they discuss exactly the problem I have.

Is there a chance, that this will be corrected automatically?

or, that would help, have a Button to turn an image into one direction (left or right, on direction is enough)?

Thanks for any help,

Frederic

PS.: The same problem if I use images from my gallery on the iPhone
Attachments (1)
Responses (2)
Accepted Answer Pending Moderation
Hi Frederic,

I will ask our programmer to have a look at the code and see what can be done.

Regards,
Patrick
Please read the F2C documentation before asking questions! Thank you if you've done so ;)
Accepted Answer Pending Moderation
Hi Patrick,
thanks for Your reply.
Here I give You an example including an imagefile of an iPhone SE
I checked it online with http://metapicz.com
The Mac (OSX) automatically rotates it, but surely not on web pages.

I checked it with an android-phone: no problem because it rotates it when saving the file.

the webpage using F2C:
https://schoolbook.solutions/index.php/18-solution/uni-fh/uni-mathe-walz-mathe-fh-2-auflage/28-s-999-a-111

the image, and Safari rotates it automatically:
https://schoolbook.solutions/images/stories/com_form2content/p1/f19/gallery28/image.jpg

To make a test You can download this file.

Thanks a lot,
Frederic
Attachments (1)
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.