viewer icon indicating copy to clipboard operation
viewer copied to clipboard

Add support for tiff files

Open skjnldsv opened this issue 5 years ago • 1 comments

What file type image/tiff image/tiff-fx

Please attach a sample file here (or a direct external link to one) tiff sample file

skjnldsv avatar Sep 04 '19 06:09 skjnldsv

Seems the enabledPreviewProviders configuration in config.php is only to generate thumbnails of TIFF files, if you want them to be opened with the viewer you have to modify this file https://github.com/nextcloud/viewer/blob/master/src/models/images.js and add the image/tiff mime type and recompile the javascript.

qlux avatar Jun 11 '21 15:06 qlux

Tiff support can already be easily added by installing and enabling imagemagick and the tiff preview provider or adding one docker container: https://docs.nextcloud.com/server/latest/admin_manual/installation/server_tuning.html#previews

So I'd say this is fixed and implemented.

szaimen avatar Mar 07 '23 17:03 szaimen

With https://github.com/nextcloud/viewer/commit/73c75db1174155ac513f1bbb7282ef49c8bfd313#diff-19c248e62873395ed003d6ceace369ecc3c7e56567e3e667d9030f663d2b44c6 https://github.com/nextcloud/viewer/commit/797bb498686f7bc2a070a046fdbe36d13a37ec39#diff-19c248e62873395ed003d6ceace369ecc3c7e56567e3e667d9030f663d2b44c6

skjnldsv avatar Mar 07 '23 17:03 skjnldsv