Skip to content

Add support for zarr-conventions thumbnails extension#71

Draft
lubianat wants to merge 2 commits into
ome:mainfrom
lubianat:thumbnail_extension
Draft

Add support for zarr-conventions thumbnails extension#71
lubianat wants to merge 2 commits into
ome:mainfrom
lubianat:thumbnail_extension

Conversation

@lubianat

Copy link
Copy Markdown
Contributor

Testing support for https://github.com/clbarnes/zarr-convention-thumbnails

Checks for thumbnail convention and uses thumbnail when available, fallback to ome-zarr.js when no thumbnails are present.

The convention is WIP, opening the PR for the deploy preview

- Implement selectBestThumbnail utility to choose optimal thumbnail
  based on size and format preferences (JPEG over PNG)
- Update Thumbnail component to check for thumbnails convention
  and use pre-generated thumbnails when available
- Fallback to ome-zarr rendering when no thumbnails convention exists
- Support both path-based and URL-based thumbnail references

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@netlify

netlify Bot commented Apr 16, 2026

Copy link
Copy Markdown

Deploy Preview for ome-ngff-validator ready!

Name Link
🔨 Latest commit 323d41c
🔍 Latest deploy log https://app.netlify.com/projects/ome-ngff-validator/deploys/69e0ed5cc1630300088371e2
😎 Deploy Preview https://deploy-preview-71--ome-ngff-validator.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant