From 7772b886b82e55437fdda376458c57c5a0a2a48d Mon Sep 17 00:00:00 2001 From: Grant Fitzsimmons <37256050+grantfitzsimmons@users.noreply.github.com> Date: Wed, 1 Jul 2026 23:07:54 -0500 Subject: [PATCH] feat: add heic/heif thumbnail support Requires the server to support it, see https://github.com/specify/web-asset-server/pull/44 --- .../frontend/js_src/lib/components/Attachments/attachments.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/specifyweb/frontend/js_src/lib/components/Attachments/attachments.ts b/specifyweb/frontend/js_src/lib/components/Attachments/attachments.ts index 849fda5e0f8..8b30bfff2b8 100644 --- a/specifyweb/frontend/js_src/lib/components/Attachments/attachments.ts +++ b/specifyweb/frontend/js_src/lib/components/Attachments/attachments.ts @@ -67,6 +67,8 @@ const thumbnailable = new Set([ 'image/gif', 'image/png', 'image/tiff', + 'image/heic', + 'image/heif', 'application/pdf', ]);