With regard to question 3:
If you edit the lines in local config plugin with adding 'rw2' and 'dng' you get the option through a web upload with Photos->Add to use option "Formats" and then connect a previous uploaded .jpg with a .rw2 and .dng:
$conf['file_ext'] = array_merge(
$conf['picture_ext'],
array('tiff', 'tif', 'mpg', 'zip', 'avi','rw2','dng','mp3','ogg','pdf','svg','heic')
Also add below that:
$conf['enable_formats'] = true;
When subsequently downloading a .dng with Safari or Chrome Edge it works just fine. They download .dng files. However when using the latest Firefox the file extension of the downloaded picture isn't correct. It has ".tiff" whereas header info requested in terminal with the following exiftool command it suggests that it's a possible .tiff file.
exiftool -a -G1 -s /filename.dng | grep -i dng like the following return suggests in Content-Type: image/tiff against Content-Disposition: attachment; filename="P1000094_DxO.dng"
HTTP/1.1 200 OK
Server: openresty
Date: Tue, 21 Jul 2026 22:02:44 GMT
Content-Type: image/tiff
Content-Length: 99745568
Connection: keep-alive
X-Powered-By: PHP/8.4.16
Set-Cookie: pwg_id=b283be812dcdc1bdae789f9fc659b845; path=/; HttpOnly
Expires: Wed, 22 Jul 2026 01:02:43 GMT
Cache-Control: public, max-age=10800
Last-Modified: Sun, 19 Jul 2026 13:06:09 GMT
Content-Disposition: attachment; filename="P1000094_DxO.dng";
Content-Transfer-Encoding: binary
When typing this in terminal I also see that the Content-type and Content-Disposition are confusing:
curl -sI "
https://kijk.saltaretango.nl/action.php?id=27&part=e&download"
HTTP/1.1 200 OK
Server: openresty
Date: Wed, 22 Jul 2026 21:29:35 GMT
Content-Type: image/tiff
Content-Length: 98850514
Connection: keep-alive
X-Powered-By: PHP/8.4.16
Set-Cookie: pwg_id=5e3bbfd8d6f52096349f720cb76ff8c6; path=/; HttpOnly
Expires: Thu, 23 Jul 2026 00:29:34 GMT
Cache-Control: public, max-age=10800
Last-Modified: Sun, 19 Jul 2026 13:05:06 GMT
Content-Disposition: attachment; filename="P1000093_DxO.dng"; filename*=UTF-8''P1000093_DxO.dng
Content-Transfer-Encoding: binary
Question:
Md5 hashes with downloading through Safari - Chrome - Firefox return the same hash though.
Are you sure that the md5 hash of the original .dng upload from your local disk is the same as in the downloaded file?