Skip to content

Commit

Permalink
[BUGFIX] Explicitly set title for image
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminkott committed Jul 12, 2023
1 parent 6f32e3a commit f4345a7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Resources/Private/Templates/ContentElements/Uploads.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,13 @@
<f:if condition="{f:uri.image(src: 'file:{f:if(condition: file.originalFile, then: \'file:{file.originalFile.uid}\', else: \'file:{file.uid}\')}')} != '/'">
<div class="filelink-media">
<a href="{file.publicUrl}" title="{fileTitle}"{f:if(condition: data.target, then: ' target="{data.target}"')}>
<f:media file="{file}" width="{settings.uploads.preview.width}" height="{settings.uploads.preview.height}" alt="{file.properties.alternative}" />
<f:media
file="{file}"
title="{fileTitle}"
width="{settings.uploads.preview.width}"
height="{settings.uploads.preview.height}"
alt="{file.properties.alternative}"
/>
</a>
</div>
</f:if>
Expand Down

0 comments on commit f4345a7

Please sign in to comment.