Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Publii image processing seems to be stripping exif data from .jpeg files

  • #5925
    Avatar photo[anonymous]

    Publii apparently strips exif info from .jpeg image files, specifically orientation. The exif info is there in the original file. When I upload the file, the original retains the orientation. But the resized images in the responsive folder are missing that data, resulting in photos that display sideways.

    This has been brought up twice before:

    https://forum.getpublii.com/topic/rotating-images/

    https://forum.getpublii.com/topic/publii-rotates-images-during-upload/

    The first appears to be a bug report that was mistakenly interpreted as a feature request. The second is a bug report I submitted in January. In that thread, you said you could not reproduce the behavior. Can you recheck, and make sure you check the responsive images folder? In my earlier bug report, I specifically mentioned that the “large file” displayed correctly while the responsive ones did not. I’m not sure if you noted that part of the report.

    #5926
    Avatar photo[anonymous]

    Attached is an example image. The exif orientation is “Rotate 90 CW”. The responsive versions do not contain an orientation field, and show up rotated 90 degrees counter-clockwise.

    #5930
    Avatar photo[anonymous]

    Hi @btrem,

    I have created an issue for your case: https://github.com/GetPublii/Publii/issues/985

    #5932
    Avatar photo[anonymous]

    Thanks. I have a GitHub account. Could I have opened an issue there? Should I have?

    #5955
    Avatar photo[anonymous]

    @btrem – the issue is created so now there is no reason to open another one 🙂 But for the future founded errors you can report them directly on Github if they are Publii app-related (and are not related to themes)