Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Image rotation

Discussion in 'General Discussion' started by Neso, Jan 12, 2017.

  1. Neso

    Neso Member

    Joined:
    Feb 11, 2009
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    51
    Hi, I have strange problem, when image is uploaded from iPhoto library on my Mac or the library on my iPhone it is rotated in diffrent way.

    As soon image is uploaded from Windows PC it is showing OK.

    I use GD library, PHP 5.6, Apache 2.4.25, imagick is also installed but it is not showing as loaded in PHP.

    What could be wrong ?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you let us know how you are uploading the images to the server? Is this through a third-party PHP application?

    Thank you.
     
  3. Neso

    Neso Member

    Joined:
    Feb 11, 2009
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    51
    Yes but on one hosting provider it was working and with other it is not working. Developer say that maybe something with exif could be problem, but I tested by enabling and disabling and results are same.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    You'd need to consult with the developer of the PHP application for assistance with the issue. Here are a couple of third-party URLs that may help:

    Image getting rotated automatically on upload
    PHP read_exif_data and Adjust Orientation

    Thank you.
     
Loading...

Share This Page