1
0
mirror of https://github.com/lrsjng/h5ai.git synced 2025-08-12 00:44:01 +02:00

Add img-raw type.

This commit is contained in:
Lars Jung
2015-02-22 14:45:49 +01:00
parent 401c3fbe36
commit 48954756e8
2 changed files with 2 additions and 1 deletions

View File

@@ -192,7 +192,7 @@ Options
*/ */
"preview-img": { "preview-img": {
"enabled": true, "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"]
}, },
/* /*

View File

@@ -31,6 +31,7 @@ File types mapped to file extensions
"img-ico": ["*.ico"], "img-ico": ["*.ico"],
"img-jpg": ["*.jpg", "*.jpeg"], "img-jpg": ["*.jpg", "*.jpeg"],
"img-png": ["*.png"], "img-png": ["*.png"],
"img-raw": ["*.cr2", "*.nef"],
"img-tiff": ["*.tiff"], "img-tiff": ["*.tiff"],
"txt": ["*.text", "*.txt"], "txt": ["*.text", "*.txt"],
"txt-build": ["*.pom", "build.xml", "pom.xml"], "txt-build": ["*.pom", "build.xml", "pom.xml"],