I realize I can write:
(image: foo.jpg alt: foobar)
But I’m making use of the fantastic file blueprints feature to add an alt text field. Is it possible for me to access that data in a tag? Otherwise, it seems like having an alt text field is only useful in template code.
My use case is that I’m grabbing the first image of a page and using it in a list template as a cover image—so I need access to alt text in template code. But on the page itself, I need alt text in the main WSYSIWYG field. Currently, the only solution I can think of is to duplicate the alt text—once in the KirbyText tag and once in the image meta data.
Is there another way?