first pass of click through to see real image

This commit is contained in:
2021-01-10 20:50:47 +11:00
parent 608bfb81e8
commit c3debb3425
2 changed files with 3 additions and 6 deletions

View File

@@ -15,13 +15,10 @@
{% else %}
<i class="fas fa-question-circle"></i>
{% endif %}
&nbsp;{{obj.name}}
{% if obj.type=="Image" %}
<!--
<img width="64" height="64" src="{{obj.name}}"></img>
-->
<img width="64" height="64" src="data:image/jpeg;base64,{{obj.thumbnail}}"></img>
<a href="{{symlink}}/{{obj.name}}"><img width="128" height="128" src="data:image/jpeg;base64,{{obj.thumbnail}}"></img></a>
{% endif %}
{{obj.name}}
</td></td><td>{{obj.size_MB}}</td><td>{{obj.hash}}</tr>
{% endfor %}
</tbody></table>