GlobalDataverseCommunityConsortium / dataverse-previewers

A collection of Datafile Previewers that can be configured to work with Dataverse
MIT License
13 stars 38 forks source link

.tiff format not supported in common browsers #29

Closed djbrooke closed 4 years ago

djbrooke commented 4 years ago

We added previewers to Harvard Dataverse and noticed that tiffs did not work as expected in both the embed and explore mode for Firefox and Chrome:

https://dataverse.harvard.edu/file.xhtml?persistentId=doi:10.7910/DVN/6N0B0S/VN8VSC https://qualitativedatarepository.github.io/dataverse-previewers/previewers/ImagePreview.html?fileid=3655711&siteUrl=https://dataverse.harvard.edu&datasetid=3655678&datasetversion=1.0

Stackoverflow and Wikipedia helped me determine that tiffs are displayed in Safari and IE, but not Firefox and Chrome:

https://en.wikipedia.org/wiki/Comparison_of_web_browsers#Image_format_support

I'll be happy to put up a PR to remove the .tiff block from readme.md, but I'd like some opinions from others about whether or not this is the right path, if we should descend into a discussion about browser market share, or other. I guess in the end it's up to each installation to determine which file types are supported, but this came as a surprise to us.