This commit is contained in:
partisan 2024-10-06 18:10:54 +02:00
parent 4d64f55922
commit 2425392767

View file

@ -73,8 +73,14 @@
<div class="images images_viewer_hidden"> <div class="images images_viewer_hidden">
<!-- Images Grid --> <!-- Images Grid -->
{{ range $index, $result := .Results }} {{ range $index, $result := .Results }}
<div class="image"> <div class="image" width="{{ .ThumbHeight }}">
<img src="{{ .ThumbProxy }}" alt="{{ .Title }}" data-media="{{ .Media }}" class="clickable"> <a class="clickable" href="{{ .Source }}" target="_blank">
<img
class="open-image-viewer"
src="{{ .ThumbProxy }}"
alt="{{ .Title }}"
data-media="{{ .Media }}"
/>
<div class="resolution">{{ .Width }} × {{ .Height }}</div> <div class="resolution">{{ .Width }} × {{ .Height }}</div>
<div class="details"> <div class="details">
<span class="img_title clickable">{{ .Title }}</span> <span class="img_title clickable">{{ .Title }}</span>