Hello/Hi/Greetings,
If I add a link in ./galleries that points to a folder with heic images in it and then perform synchronization the album gets created but the heic files are not recognized (they show up as question marks)
If I then delete all the heic files and then perform a 'add photos' operation on the album the heic files are now recognized and displayed properly .
Am I doing something wrong ?
Operating system: Linux
PHP: 8.2.20 (Show info) [2024-09-05 13:20:55]
MySQL: 10.11.6-MariaDB-0+deb12u1 [2024-09-05 09:20:55]
Graphics Library: External ImageMagick 6.9.11-60
Offline
any thoughts on this ?
any body
Offline
Sync with HEIC files doesn't work for me either. This has been reported before:
https://piwigo.org/forum/viewtopic.php? … 42#p188942
It seems that processing is different for uploading vs. sync. During an upload, you can see the ImageMagick "convert" command being executed in the log:
[2024-09-11 20:00:44] [INFO] upload_file_heic, exec = convert -sampling-factor 4:2:0 -quality 85 -interlace JPEG -colorspace sRGB -auto-orient +repage -resize "2484x1863>" "/mnt/piwigo/_piwigo-sites/piwigo-beta/upload/2024/09/11/20240911200044-a4f8fa6e.heic" "././upload/2024/09/11/pwg_representative/20240911200044-a4f8fa6e.jpg" 2>&1
But this doesn't seem to happen during a sync, so the JPG thumbnails for the HEIC image are not created in the album and you end up with the "unknown" question mark thumbnail instead.
Also keep in mind if you use "Add Photos" you're not actually adding that photo to the album/folder you linked under galleries, it's going to end up in the virtual album folder structure under uploads.
Offline
Found this reported in Github as well.
[Github] Piwigo issue #2078
Offline