diff options
Diffstat (limited to 'templates/mosaic.qtpl')
-rw-r--r-- | templates/mosaic.qtpl | 6 |
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> |