WARNING: CURRENTLY BROKEN... updated photos.py to use exif data for thumbnails, and templates/photos.html to reflect changes

This commit is contained in:
2021-01-10 18:07:56 +11:00
parent c01c586bcd
commit 2d88a65ead
2 changed files with 28 additions and 3 deletions

View File

@@ -17,7 +17,7 @@
{% endif %}
 {{obj.name}}
{% if obj.type=="Image" %}
<img width="64" height="64" src="data:image/gif;base64,{{obj.thumb}}"></img>
<img width="64" height="64" src="data:image/jpg;base64,{{obj.thumbnail}}"></img>
{% endif %}
</td></td><td>{{obj.size_MB}}</td><td>{{obj.hash}}</tr>
{% endfor %}