Allow to link to figures based on their "identifier"

This commit is contained in:
Daniel Siepmann 2022-11-08 08:39:23 +01:00
parent 83d80675f4
commit 9ba6a43ca1

View file

@ -1,6 +1,6 @@
<html xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers" <html xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
data-namespace-typo3-fluid="true"> data-namespace-typo3-fluid="true">
<figure> <figure id="i{image.originalFile.uid}">
<a href="{f:uri.image(image: image)}" target="_blank"><f:image image="{image}" maxWidth="1015" /></a> <a href="{f:uri.image(image: image)}" target="_blank"><f:image image="{image}" maxWidth="1015" /></a>
<figcaption>Figure i{image.originalFile.uid}: {image.description}</figcaption> <figcaption>Figure i{image.originalFile.uid}: {image.description}</figcaption>
</figure> </figure>