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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user