files now processes multiple paths, and view shows images for any images in appropriate path

This commit is contained in:
2021-01-12 16:58:41 +11:00
parent 48748c23be
commit d857233723
2 changed files with 11 additions and 11 deletions

View File

@@ -29,7 +29,7 @@
<center>
<figure class="figure px-2" font-size: 24px;>
{% 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>
<a href="{{obj.path_prefix}}/{{obj.name}}"><img class="thumb" height="128" src="data:image/jpeg;base64,{{obj.thumbnail}}"></img></a>
{% elif obj.type == "Video" %}
<div style="position:relative; width:100%">
<img class="thumb" style="display:block" height="128" src="data:image/jpeg;base64,{{obj.thumbnail}}"></img>