aboutsummaryrefslogtreecommitdiff
path: root/templates/mosaic.qtpl
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-08-18 22:18:27 +0200
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-08-18 22:18:27 +0200
commitbf23e30e4c6c548b94479b57aae5ebec14f9c95a (patch)
tree4ed839206f63f679e8ec1beca09e59fc80a6a073 /templates/mosaic.qtpl
parenta1f09d1f143012570a62bcb2a8fe51c439ad68fb (diff)
downloadlens-bf23e30e4c6c548b94479b57aae5ebec14f9c95a.tar.gz
lens-bf23e30e4c6c548b94479b57aae5ebec14f9c95a.tar.bz2
lens-bf23e30e4c6c548b94479b57aae5ebec14f9c95a.zip
fix: Fix album and media navidation
Diffstat (limited to 'templates/mosaic.qtpl')
-rw-r--r--templates/mosaic.qtpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/mosaic.qtpl b/templates/mosaic.qtpl
index 18dbcba..3e6ccf8 100644
--- a/templates/mosaic.qtpl
+++ b/templates/mosaic.qtpl
@@ -8,12 +8,12 @@
{% for _, media := range c %}
<div class="card-image">
{% if media.IsVideo() %}
- <video class="image is-fit" controls muted="true" poster="/media/thumbnail?path_hash={%s media.PathHash %}" preload="{%s preloadAttr %}">
- <source src="/media/image?path_hash={%s media.PathHash %}" type="{%s media.MIMEType %}">
+ <video class="image is-fit" controls muted="true" poster="/media/thumbnail/?path_hash={%s media.PathHash %}" preload="{%s preloadAttr %}">
+ <source src="/media/image/?path_hash={%s media.PathHash %}" type="{%s media.MIMEType %}">
</video>
{% else %}
<figure class="image is-fit">
- <img src="/media/thumbnail?path_hash={%s media.PathHash %}">
+ <img src="/media/thumbnail/?path_hash={%s media.PathHash %}">
</figure>
{% endif %}
</div>