diff --git a/README.md b/README.md index 7fb6f4d..1e48f70 100644 --- a/README.md +++ b/README.md @@ -224,6 +224,6 @@ docker run --rm --entrypoint cat my-sist2-image /root/sist2 > sist2-x64-linux git clone --recursive https://github.com/sist2app/sist2/ (cd sist2-vue; npm install; npm run build) (cd sist2-admin/frontend; npm install; npm run build) - cmake -DSIST_DEBUG=off -DCMAKE_TOOLCHAIN_FILE=/scripts/buildsystems/vcpkg.cmake . + cmake -DSIST_DEBUG=off -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=/scripts/buildsystems/vcpkg.cmake . make ``` diff --git a/sist2-vue/src/Sist2Api.js b/sist2-vue/src/Sist2Api.js index 0d69ef5..149f577 100644 --- a/sist2-vue/src/Sist2Api.js +++ b/sist2-vue/src/Sist2Api.js @@ -69,7 +69,8 @@ class Sist2Api { hit._props.isImage = true; } if ("width" in hit._source && !hit._props.isSubDocument && hit._source.videoc !== "tiff" - && hit._source.videoc !== "raw" && hit._source.videoc !== "ppm") { + && hit._source.videoc !== "raw" && hit._source.videoc !== "ppm" + && hit._source.mime !== "image/jp2") { hit._props.isPlayableImage = true; } if ("width" in hit._source && "height" in hit._source) {