Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rotateImage plugin does not update thumbnails after rotating HEIC photo #2135

Open
EddyLB opened this issue Mar 15, 2024 · 0 comments
Open

Comments

@EddyLB
Copy link
Contributor

EddyLB commented Mar 15, 2024

First, Piwigo 14.3.0 is unable to rotate HEIC photos by default and the method pwg.image.rotate reports the string [Image] unsupported file extension which is not a JSON data. It should either manage HEIC photos or report a JSON including an error message because this is problematic for third party apps like the iOS and Android apps (another issue).

Here are the steps to reproduce the issue from the UI:

  1. Add 'heic' to $conf['picture_ext'] with the LocalFiles Editor plugin for enabling HEIC photos rotations,
  2. Choose a HEIC photo from the web UI,
  3. Request a rotation, e.g. 90° clockwise,
  4. Check the corresponding files in the _data and upload folders.

The original HEIC image located in the upload folder is rotated as expected. But the thumbnail files located in _data are not deleted as the plugin does when dealing with JPEG files. The thumbnail shown on the web UI does not present the image rotated as expected. Force reloading the web page does nothing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant