Si vous modifiez les lignes du plugin de configuration locale en ajoutant 'rw2' et 'dng', vous obtenez l'option « Formats » lors d'un téléchargement web via Photos > Ajouter. Vous pouvez ensuite associer un fichier .jpg précédemment téléchargé à un fichier .rw2 et un fichier .dng : `$conf['file_ext'] = array_merge( $conf['picture_ext'], array('tiff', 'tif', 'mpg', 'zip', 'avi','rw2','dng','mp3','ogg','pdf','svg','heic')`. Ajoutez également en dessous : `$conf['enable_formats'] = true;`.
Le téléchargement d'un fichier .dng avec Safari ou Chrome Edge fonctionne correctement. Ces navigateurs téléchargent bien les fichiers .dng. Cependant, avec la dernière version de Firefox, l'extension du fichier image téléchargé est incorrecte. Elle est en « .tiff », alors que les informations d'en-tête demandées dans le terminal avec la commande `exiftool` suivante sont différentes. Cela suggère qu'il s'agit probablement d'un fichier .tiff. La commande `exiftool -a -G1 -s /filename.dng | grep -i dng` renvoie un résultat similaire à celui-ci : `Content-Type: image/tiff against Content-Disposition: attachment;
filename="P1000094_DxO.dng" HTTP/1.1 200 OKServer: openrestyDate: Tue, 21 Jul 2026 22:02:44 GMTContent-Type: image/tiffContent-Length: 99745568Connection: keep-aliveX-Powered-By: PHP/8.4.16Set-Cookie: pwg_id=b283be812dcdc1bdae789f9fc659b845; path=/; HttpOnlyExpires: Wed, 22 Jul 2026` 01:02:43 GMTTCache-Control: public, max-age=10800Last-Modified: Sun, 19 Jul 2026 13:06:09 GMTContent-Disposition: attachment; filename="P1000094_DxO.dng"; Content-Transfer-Encoding: binaryLorsque je saisis cette commande dans le terminal, je constate également que les valeurs de Content-type et Content-Disposition sont contradictoires : curl -sI "
https://kijk.saltaretango.nl/action.php?id=27&part=e&download"HTTP/1.1 200 OKServer: openrestyDate: Wed, 22 Jul 2026 21:29:35 GMTContent-Type: image/tiffContent-Length: 98850514Connection: keep-aliveX-Powered-By: PHP/8.4.16Set-Cookie: pwg_id=5e3bbfd8d6f52096349f720cb76ff8c6; path=/; HttpOnlyExpires: Thu, 23 Jul 2026 00:29:34 GMTTCache-Control: public, max-age=10800Last-Modified: Sun, 19 Jul 2026 13:05:06 GMTContent-Disposition: attachment; filename="P1000093_DxO.dng"; filename*=UTF-8''P1000093_DxO.dngContent-Transfer-Encoding: binaryQuestion:
Les hachages MD5 obtenus lors du téléchargement via Safari, Chrome et Firefox sont identiques.
Comment expliquer cette différence de comportement entre Firefox, Safari et Chrome (avec les options activées) ?
Piwigo 16.4.0 Check for upgrade
Installed on 19 July 2026, 3 days ago
Operating system: Linux
Container info: (unofficial) LinuxServer.io 16.4.0-ls350
PHP: 8.4.16 (Show info) [2026-07-23 00:44:29]
MySQL: 11.8.8-MariaDB-log [2026-07-22 22:44:29]
Graphics Library: External ImageMagick 7.1.2-15
Cache size 71.06 Mo calculated 1 day ago