You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0468f8a
Browse filesBrowse the repository at this point in the historyBrowse files
Fix term-info download captions and thumbnail links to name the template
Downloads section said 'Image files aligned to <the term's own label>'
instead of the template it's aligned to, because each Images/Examples
entry's id/label describe the depicted term, not the template — e.g.
https://virtualflybrain.org/blog/2022/01/01/1447201088-vfb_jrch06ly/
showed 'Image files aligned to 1447201088' twice, once per template,
instead of naming JRC2018U and JRCFIB2018Fum.
Add get_template_label(), a small cached lookup of each template's own
Name, and use it for the download caption instead of the image's label.
Thumbnails in the hero card had the same confusion in their alt text,
and their links only ever opened the page's own term (?id=<id>), never
the specific template + image shown — so clicking a thumbnail didn't
open the 3D browser on that alignment. Give each thumbnail a fully
descriptive alt ('<tags> <name> (<id>) aligned to <template>') and link
to ?id=<id>&i=<template_id>,<image_id> so it opens on the right image.
0 commit comments