stupid me, the video thumbnail did not have thumb class, so it was not being resized by buttons, now works, ratios still seem odd, but its ok

This commit is contained in:
2021-01-12 01:49:51 +11:00
parent 83c7e5379c
commit 6e67bcd803

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" %}
<img height="128" src="data:image/jpeg;base64,{{obj.thumbnail}}"></img>
<img class="thumb" height="128" src="data:image/jpeg;base64,{{obj.thumbnail}}"></img>
{% endif %}
<figcaption class="figure-caption text-center">{{obj.name}}</figcaption>
</figure>