Skip to content

Node.js based forum software built for the modern web

feat: link to thumbs in preview modal

Barış Soner Uşaklıdbb75efe24cd
diff --git a/src/views/modals/topic-thumbs-view.tpl b/src/views/modals/topic-thumbs-view.tpl
index a0ee682f80..829efb8ece 100644
--- a/src/views/modals/topic-thumbs-view.tpl
+++ b/src/views/modals/topic-thumbs-view.tpl
@@ -1,6 +1,8 @@
<div class="d-flex flex-column gap-4 topic-thumbs-view-modal">
<div class="d-flex justify-content-center align-items-center mb-5" style="height: 33vh; max-height: 33vh;">
- <img component="topic/thumb/current" class="rounded" src="{src}" style="max-height: 33vh; max-width:100%;" />
+ <a href="{src}" target="_blank">
+ <img component="topic/thumb/current" class="rounded" src="{src}" style="max-height: 33vh; max-width:100%;" />
+ </a>
</div>
{{{ if (thumbs.length != "1") }}}
<hr/>