Skip to content

RAW images, specifically DNG, aren’t loading previews, just downloading #2960

@NCfeedback

Description

@NCfeedback

Describe the bug
Since Viewer updated to 4.0.0, .dng images aren’t able to be loaded as previews, just downloaded. They also don’t appear in the Photos app.

To Reproduce
Steps to reproduce the behavior:

  1. Install camerarawpreviews, ensure .dng previews are generated and visible (they are in this case)
  2. Click on Files app
    1. Click on the desired subfolder
  3. Click on the desired .dng image
  4. .dng pops up as a download, rather than loading a preview like with .jpg, etc

Expected behavior
RAW images used to load previews as a pop up image like .jpg. This no longer occurs

Screenshots
N/A, logs:

.jpg:
{"reqId":"4yBKAL1JlOuZbyjxtDUC","level":0,"time":"2025-09-02T19:42:33+00:00","remoteAddr":"X.X.X.X","user":"YYY","app":"no app in context","method":"GET","url":"/core/preview?fileId=40123887&x=2420&y=1454&a=true&etag=8daef698d10187e994b084d2ae70a2df","message":"Requesting preview for /YYY/files/Photos/2025/08/08,03,2025,10;14;10;AM,1345 1.jpg with width=2420, height=1454, crop=false, mode=fill, mimeType=null","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.6 Safari/605.1.15","version":"31.0.8.1","data":[]}

.dng:

{"reqId":"ChenTyWO6jhbeE9FiruS","level":0,"time":"2025-09-02T19:42:37+00:00","remoteAddr":"X.X.X.X","user":"YYY","app":"workflowengine","method":"GET","url":"/remote.php/dav/files/YYY/Photos/2025/08/08%2C03%2C2025%2C15%3B40%3B06%3BPM%2C1347.dng","message":"No flow configurations is going to run Block access to a file","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.6 Safari/605.1.15","version":"31.0.8.1","data":{"app":"workflowengine","level":"0"}}

.heic (since these are disabled by default, just to confirm my config works):

{"reqId":"VRyPMygzLp13z4aBsfaK","level":0,"time":"2025-09-02T19:57:09+00:00","remoteAddr":"X.X.X.X","user":"YYY","app":"no app in context","method":"GET","url":"/core/preview?fileId=40126394&x=2420&y=1454&a=true&etag=7241996c8e28194e9cf1eff7990aaae2","message":"Requesting preview for /YYY/files/Photos/2025/08/08,16,2025,14;08;29;PM,1213.heic with width=2420, height=1454, crop=false, mode=fill, mimeType=null","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.6 Safari/605.1.15","version":"31.0.8.1","data":[]}

Config.php:

  'enable_previews' => true,
  'enabledPreviewProviders' =>
  array (
    0 => 'OC\\Preview\\Movie',
    1 => 'OC\\Preview\\PNG',
    2 => 'OC\\Preview\\JPEG',
    3 => 'OC\\Preview\\GIF',
    4 => 'OC\\Preview\\BMP',
    5 => 'OC\\Preview\\XBitmap',
    6 => 'OC\\Preview\\MP3',
    7 => 'OC\\Preview\\MP4',
    8 => 'OC\\Preview\\TXT',
    9 => 'OC\\Preview\\MarkDown',
    10 => 'OC\\Preview\\PDF',
    11 => 'OC\\Preview\\HEIC',
    12 => 'OC\\Preview\\HEIF',
    13 => 'OC\\Preview\\DNG',
    14 => 'OC\\Preview\\MOV',
    15 => 'OC\\Preview\\Image',
  ),

Desktop (please complete the following information):

  • OS: iOS, Mac OS and Windows 10
  • Browser Safari, Firefox and Edge
  • Version Safari 18.6, Firefox, 142.01 Edge 139.03405.125

Smartphone (please complete the following information):

  • Device: iPhone 14 Pro Max, iPad Pro M4
  • OS: iOS 18.6.2
  • Browser Safari
  • Version

Firefox

No Log entry, just downloads

Additional context
I worked through this with ariselseng to eliminate camerarawpreveiws as the issue here:
ariselseng/camerarawpreviews#115

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending approval or rejection. This issue is pending approval.bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions