issue #1959 support for HEIC file format

* Piwigo produces an image.jpg as representative of image.heic
* optimized pixels dimensions of the representative, based on the XXL derivative width*height
This commit is contained in:
plegall 2023-08-18 14:15:08 +02:00
parent 52969a7708
commit 4ac772224f
2 changed files with 86 additions and 1 deletions

View file

@ -45,7 +45,7 @@ $conf['picture_ext'] = array('jpg','jpeg','png','gif');
// file_ext : file extensions (case sensitive) authorized
$conf['file_ext'] = array_merge(
$conf['picture_ext'],
array('tiff', 'tif', 'mpg','zip','avi','mp3','ogg','pdf','svg')
array('tiff', 'tif', 'mpg','zip','avi','mp3','ogg','pdf','svg', 'heic')
);
// enable_formats: should Piwigo search for multiple formats?