wellcomecollection / wellcomecollection.org

🪟 Wellcome Collection's website and services that support it
https://wellcomecollection.org
MIT License
39 stars 5 forks source link

Show correct file type - bmp should not show as jpg #11017

Open pollecuttn opened 2 months ago

pollecuttn commented 2 months ago

What

The MIME type for the bmps are showing correct in IIIF builder as
PROJECT1.BMP

image/bmp (Windows Bitmap) fmt/116 | 1046 x 760 S3: PPDBL_A_1_41---PROJECT1.BMP

But on WC it’s showing jpeg, not sure why because all the other mimetypes match what’s in IIIF Builder. And some tifs too. Is it to do with IIIF Builder’s DLCS? Hmm. I think it might be and I’m not sure we should be doing that.

Reason: We’re pulling the wrong information out of the IIIF manifest. We need to use the rendering property

Where

https://wellcomecollection.org/works/c4ujea53 https://wellcomecollection.org/works/hxcnerud

To do

From Ashley

rcantin-w commented 2 weeks ago

Ashley's just flagged a possible other related one https://wellcome.slack.com/archives/C3TQSF63C/p1725454694472159?thread_ts=1725454189.211189&cid=C3TQSF63C