From 0468f8a3c69063733fd0cbc24ad131ff41f761dc Mon Sep 17 00:00:00 2001 From: Robbie Court Date: Sun, 6 Sep 2026 07:53:38 +0000 Subject: [PATCH] Fix term-info download captions and thumbnail links to name the template MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Downloads section said 'Image files aligned to ' 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=), 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 (' () aligned to