got video thumbnails working, added another pip packages to the README, and edited the templates/files.html accordingly.
This commit is contained in:
@@ -10,7 +10,8 @@
|
||||
{% if obj.type=="Image" %}
|
||||
<a href="{{file_data.symlink}}/{{obj.name}}"><img width="128" height="128" src="data:image/jpeg;base64,{{obj.thumbnail}}"></img></a>
|
||||
{% elif obj.type == "Video" %}
|
||||
<i style="font-size:128px;" class="fas fa-file-video"></i>
|
||||
<img width="128" height="128" src="data:image/jpeg;base64,{{obj.thumbnail}}"></img>
|
||||
<!--<i style="font-size:128px;" class="fas fa-file-video"></i>-->
|
||||
{% endif %}
|
||||
<figcaption class="figure-caption text-center">{{obj.name}}</figcaption>
|
||||
</figure>
|
||||
|
||||
Reference in New Issue
Block a user