We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c81be49 commit 1ace5d6Copy full SHA for 1ace5d6
com.woltlab.wcf/templates/shared_unfurlUrl.tpl
@@ -4,8 +4,8 @@
4
{else}
5
<div class="unfurlUrlCardContainer">
6
<div class="unfurlUrlCard{*
7
- *}{if $object->hasCoverImage()} unfurlUrlCardCoverImage{/if}{*
8
- *}{if $object->hasSquaredImage()} unfurlUrlCardSquaredImage{/if}{*
+ *}{if !URL_UNFURLING_NO_IMAGES && $object->hasCoverImage()} unfurlUrlCardCoverImage{/if}{*
+ *}{if !URL_UNFURLING_NO_IMAGES && $object->hasSquaredImage()} unfurlUrlCardSquaredImage{/if}{*
9
*}">
10
{if !URL_UNFURLING_NO_IMAGES && !$object->getImageUrl()|empty}
11
<img src="{$object->getImageUrl()}" height="{$object->height}" width="{$object->width}" class="unfurlUrlImage" alt="" loading="lazy">
0 commit comments