Merge branch 'master' of 192.168.0.2:photoassistant

BUT, the thumbnails for the videos are fixed ratios, so the resizing doesnt work for them.. Odd
This commit is contained in:
2021-01-12 01:48:11 +11:00
3 changed files with 22 additions and 2 deletions

View File

@@ -30,7 +30,7 @@
{% if obj.type=="Image" %}
<a href="{{file_data.symlink}}/{{obj.name}}"><img class="thumb" height="128" src="data:image/jpeg;base64,{{obj.thumbnail}}"></img></a>
{% elif obj.type == "Video" %}
<i style="font-size:128" class="thumb fas fa-file-video"></i>
<img height="128" src="data:image/jpeg;base64,{{obj.thumbnail}}"></img>
{% endif %}
<figcaption class="figure-caption text-center">{{obj.name}}</figcaption>
</figure>