Neural-Systems-at-UIO / LocaliZoom

Localizoom viewer https://localizoom.readthedocs.io
MIT License
3 stars 1 forks source link

Select starting section #2

Closed Tevemadar closed 1 year ago

Tevemadar commented 1 year ago

@blixilla now you can add a parameter &section=xyz, where xyz is a preferably unique part of the section name, like its section number. Example: we have this friendly link: https://localizoom.apps.hbp.eu/filmstripzoom.html?atlas=WHS_SD_Rat_v4_39um&series=https://data-proxy.ebrains.eu/api/v1/public/buckets/img-46e866da-c645-11ec-aa7f-00090faa0001/H441a_Timm_dark_horizontal.json&pyramids=buckets/img-46e866da-c645-11ec-aa7f-00090faa0001 starting at H441a_Timm_dark_horizontal_s089.tif when opened. After looking up that the first section is numbered 13, https://localizoom.apps.hbp.eu/filmstripzoom.html?atlas=WHS_SD_Rat_v4_39um&series=https://data-proxy.ebrains.eu/api/v1/public/buckets/img-46e866da-c645-11ec-aa7f-00090faa0001/H441a_Timm_dark_horizontal.json&pyramids=buckets/img-46e866da-c645-11ec-aa7f-00090faa0001&section=s013 is a link going to that one. Technically the &section=13 is enough, but as a best practice it's safer to provide the entire s... part as short numbers may be present anywhere.

blixilla commented 1 year ago

Thank you @Tevemadar, this is great!