Open toloudis opened 1 month ago
example starting with shared drive url: https://drive.google.com/file/d/11rdcZ5TVE-pmU9e4QuTA0WK3CoOgqPBi/view?usp=sharing we can convert it to something like: https://drive.google.com/uc?export=download&id=11rdcZ5TVE-pmU9e4QuTA0WK3CoOgqPBi but then need to urlencode it to put it in the volumeviewer url: https://volumeviewer.allencell.org/viewer?url=https%3A%2F%2Fdrive.google.com%2Fuc%3Fexport%3Ddownload%26id%3D11rdcZ5TVE-pmU9e4QuTA0WK3CoOgqPBi and then the viewer doesn't know whether to try to load this as tiff or zarr (it's trying zarr, I think)
@lynwilhelm for adding the design. This ticket is in volume-viewer but the front end load dialog is in website-3d-cell-viewer... We can add a new front-end ticket over there too.
Design complete:
Design link (look under "Modals"): https://www.figma.com/design/EJCCnElvRvObznBhN519sl/Components---CFE-%2B-3DWV?node-id=0-1&t=iiXRRTCAd3qq0kaH-1
Use Case
sometimes the shareable dropbox or drive link is not really the "http GET-able" link. Simularium had to deal with this too.
Solution
Try the simularium solution. (doctor the url to make it work)