From 48954756e8627ab27259e0f25990b5c16206af10 Mon Sep 17 00:00:00 2001 From: Lars Jung Date: Sun, 22 Feb 2015 14:45:49 +0100 Subject: [PATCH] Add img-raw type. --- src/_h5ai/conf/options.json | 2 +- src/_h5ai/conf/types.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/_h5ai/conf/options.json b/src/_h5ai/conf/options.json index a6ce5058..0a105bfe 100644 --- a/src/_h5ai/conf/options.json +++ b/src/_h5ai/conf/options.json @@ -192,7 +192,7 @@ Options */ "preview-img": { "enabled": true, - "types": ["img", "img-bmp", "img-gif", "img-ico", "img-jpg", "img-png"] + "types": ["img", "img-bmp", "img-gif", "img-ico", "img-jpg", "img-png", "img-raw"] }, /* diff --git a/src/_h5ai/conf/types.json b/src/_h5ai/conf/types.json index 59499881..0e611574 100644 --- a/src/_h5ai/conf/types.json +++ b/src/_h5ai/conf/types.json @@ -31,6 +31,7 @@ File types mapped to file extensions "img-ico": ["*.ico"], "img-jpg": ["*.jpg", "*.jpeg"], "img-png": ["*.png"], + "img-raw": ["*.cr2", "*.nef"], "img-tiff": ["*.tiff"], "txt": ["*.text", "*.txt"], "txt-build": ["*.pom", "build.xml", "pom.xml"],