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:
Add 'heic' to $conf['picture_ext'] with the LocalFiles Editor plugin for enabling HEIC photos rotations,
Choose a HEIC photo from the web UI,
Request a rotation, e.g. 90° clockwise,
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.
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.
<!-- github-sync-id:2189444169 -->
heic should not be in $conf['picture_ext'] because you can't safely display an HEIC file in the web browser. It's not like JPEG, PNG or WEBP.
HEIC files are meant to have a preview (pwg_representative) generated and used to generate multiple sizes (derivatives)
So, is the issue still valid?
`heic` should not be in `$conf['picture_ext']` because you can't safely display an HEIC file in the web browser. It's not like JPEG, PNG or WEBP.
HEIC files are meant to have a preview (pwg_representative) generated and used to generate multiple sizes (derivatives)
So, is the issue still valid?
<!-- github-comment-id:3697560181 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
First, Piwigo 14.3.0 is unable to rotate HEIC photos by default and the method
pwg.image.rotatereports the string[Image] unsupported file extensionwhich 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:
'heic'to$conf['picture_ext']with the LocalFiles Editor plugin for enabling HEIC photos rotations,_dataanduploadfolders.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.
heicshould not be in$conf['picture_ext']because you can't safely display an HEIC file in the web browser. It's not like JPEG, PNG or WEBP.HEIC files are meant to have a preview (pwg_representative) generated and used to generate multiple sizes (derivatives)
So, is the issue still valid?