Announcement

#1 2024-04-25 21:44:37

mookak
Member
2022-11-17
4

HEIC not working

Hello, i know i'm not the first one but no solution work for me...
i can't see heic image exept with iphone, so i think the file don't convert at all
they are replace by "unknown-sm.png"

my local config:

$conf['file_ext'] = array_merge(
  $conf['picture_ext'],
  array('tiff', 'tif', 'mpg','zip','avi','mp3','ogg','pdf','svg', 'heic')
  );
$conf['upload_form_all_types'] = true;
$conf['guest_access'] = false;
$conf['graphics_library'] = 'ext_imagick';

(i add the first and last one but they don"t changed anything)


    Piwigo 14.4.0 Dernière version ?
    Installé le 12 Juillet 2023, il y a 9 mois 1 semaine 6 jours
    Système d'exploitation: Linux
    PHP: 8.3.3 (Montrer les informations) [2024-04-25 19:41:52]
    MySQL: 10.6.17-MariaDB [2024-04-25 21:41:52]
    Bibliothèque graphique: External ImageMagick 6.9.10-68
    Taille du cache non disponible   jamais calculé Rafraîchir

before changing local conf it use imagick 7.1.1-19 with no result either

i hope someone can help me, thanks in advance

Offline

 

#2 2024-04-28 15:37:14

mookak
Member
2022-11-17
4

Re: HEIC not working

when i add this to local conf:
/* Photo file formats — to allow HEIC with Piwigo 14 if appropriate image library available */
$conf['picture_ext'] = array('jpg','jpeg','png','gif','webp','heic');

/* File extensions — to allow video and other file types */
$conf['file_ext'] = array_merge(
  $conf['picture_ext'],
  array('tif','tiff','mp4','m4v','mpg','ogg','ogv','webm','webmv')
  );
i get this error:

Warning: Trying to access array offset on value of type null in /home/lxjh9454/Photo.ciasolane.com/include/derivative_params.inc.php on line 92

Warning: Trying to access array offset on value of type null in /home/lxjh9454/Photo.ciasolane.com/include/derivative_params.inc.php on line 93

Warning: Trying to access array offset on value of type null in /home/lxjh9454/Photo.ciasolane.com/include/derivative_params.inc.php on line 318

Offline

 

#3 2024-08-23 13:12:22

raupie
Member
2023-07-11
45

Re: HEIC not working

I'm having the same error. My spouse is uploading images from iphone and I see the HEIC formatted files are causing an issue now.

Offline

 

#4 2024-08-24 07:58:37

GSM-S
Member
2007-12-31
42

Re: HEIC not working

This is what worked for me when uploading through ftp. Perhaps this will work for you. Btw, don't upload .mov files. It caused a site wide crash for me.

local/config/config.inc.php wrote:

<?php

$conf['upload_form_all_types'] = true;

$conf['enable_formats'] = true;
$conf['picture_ext'] = array('jpg','jpeg','png','gif','webp','heic');
$conf['file_ext'] = array_merge(
  $conf['picture_ext'],
  array('tiff', 'tif', 'mpg','zip','avi','mp3','ogg','pdf','svg',)
  );


$conf['format_ext'] = array('cmyk.jpg', 'cr2', 'zip');


?>

Last edited by GSM-S (2024-08-24 07:59:30)

Offline

 

Board footer

Powered by FluxBB

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