Announcement

#1 2023-06-27 16:53:20

ILikeTakingPictures
Member
2023-06-26
6

Wrong rotation on generated images

Hi, I am having some odd behavior with how preview images are being generated.

For some reason, all generated preview sizes of my portrait images are generating in landscape mode. When viewing the file on the file system, the correct rotation is applied. When viewing the 'Original Size' image in Piwigo, the image is rotated as expected, but no matter what I try - Every single time a preview is generated, it comes out in landscape mode, rotated 90 degrees.

After an hour of troubleshooting, forum threads, and other tests, I cannot figure out why the preview images are not being rotated correctly, when the Original Photo in Piwigo clearly has the correct orientation.

Since my photos live on my NAS, I only ever 'Synchronize' via the piwigo admin page, and never 'upload' them via the piwigo upload tool.


--------------

Environment

    Piwigo 13.7.0 Check for upgrade
    Installed on 25 June 2022, 1 year 1 day ago
    Operating system: Linux
    PHP: 8.1.20 (Show info) [2023-06-27 08:49:23]
    MySQL: 10.11.4-MariaDB-log [2023-06-27 08:49:23]
    Graphics Library: ImageMagick 7.1.0-62
    Cache size 140.89 Mo   calculated 13 minutes ago Refresh

Activated plugin list 16

    Admin Tools
    Automatic Size
    Check Files Integrity
    Color Palette
    Download by Size
    Exif View
    Exiftool Keywords
    Fotorama
    GThumb+
    Memories
    Permalink Generator
    Read Metadata
    Rotate Image
    ShareAlbum
    SmartAlbums
    Update Album

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact