Support » Plugin: Images Optimize and Upload CF7 » Wrong orientation from mobile

  • Resolved comemanu



    Despicte the fact that the main page says :
    “Fix image rotation issue when uploading images from Android an iOS (uses EXIF data)”

    It’s not working for me, the image displays rotated wrong in the preview thumbnail as soon as I upload it from a phone

    (wp v5.6, Images Optimize and Upload CF7 v2.1.0)

    Thank you

Viewing 6 replies - 1 through 6 (of 6 total)
  • sgoerger


    In my initial testing I’m having the same issue. Taking image on iphone in portrait orientation, but it’s turned to landscape immediately on site frontend and also in the email attachment. Would be better for me to keep these portrait – I think this is going to be a very typical use case for my users. Thanks!

    Bump here please – any further thoughts on how to keep orientation from switching sideways?

    Any help from developers?

    @comemanu – any luck on your end?

    Thread Starter comemanu


    @sgoerger unfortunatly not yet.

    Thread Starter comemanu


    @sgoerger i found an ugly workaround.

    The plugin internally uses another lib for the compression part.
    This lib has had an update that fixes the rotation problem.
    But the plugin still uses the older version.

    The workaround is to modify plugin file where this compress.js script is raw included to include the new version instead.

    change /wp-content/plugins/images-optimize-and-upload-cf7/frontend/assets/libs.js

    replace whole line 132 by the content of this :

    Plugin Contributor Rustam Sibagatov


    Hello @comemanu and @sgoerger!

    Yes, this problem exists and we are aware of it.

    And yes, @comemanu it happens exactly because this plugin uses another lib to compress the images on the client’s side. And it’s already fixed. We just need to prepare another release and upload it.

    Thank you for you feedback, guys!

    We’ll let you know once the update is ready.

    Thank you!


    Plugin Contributor Rustam Sibagatov


    Hey, @comemanu and @sgoerger!

    The plugin has been updated. Please, make sure you use the latest version.

    This problem is solved.

    If you like the plugin, please, give us a review. And if you have ideas or suggestions, please post them here.

    Thank you very much!


Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.