I have an fluid code for mask extension:
<f:image image="{file}" alt="{file.alternative}" title="{file.title}" class="img-fullwidth" />
I want to wrap that code with a tag with href to the same image file, so finally I will have <a href="image-file-source"><img src="image-file-source" /></a>"
Is that even possible with fluid ?
Thanks in advance for any help
This working for me
<a href="{file.originalResource.publicUrl}">
{file.originalResource.title}
</a>
In your example
<a href="{file.originalResource.publicUrl}">
<f:image image="{file}" alt="{file.alternative}" title="{file.title}" class="img-fullwidth" />
</a>"