Skip to content
Snippets Groups Projects
Commit 894f36b1 authored by Robert Lange's avatar Robert Lange
Browse files

refs #23928 [finc] fix cover when loaded directly: always use cover src for img

parent f90fb7bb
No related merge requests found
......@@ -23,7 +23,7 @@
ariaLabel="<?=$this->transEscAttr('Link-to')?> <?=$this->transEscAttr('Cover Image')?> <?=$this->transEscAttr('of')?> <?=$title?>"
>
<?php endif; ?>
<img alt="<?=$alt?>" <?php if ($linkPreview): ?>data-linkpreview="true" <?php endif; ?>class="recordcover" src="<?=$this->escapeHtmlAttr(($this->link ?? $cover)); ?>" />
<img alt="<?=$alt?>" <?php if ($linkPreview): ?>data-linkpreview="true" <?php endif; ?>class="recordcover" src="<?=$this->escapeHtmlAttr(($cover)); ?>" />
<?php if ($this->link): ?>
</a>
<script>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment