stupid me, the video thumbnail did not have thumb class, so it was not being resized by buttons, now works, ratios still seem odd, but its ok
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" %}
|
||||
<img height="128" src="data:image/jpeg;base64,{{obj.thumbnail}}"></img>
|
||||
<img class="thumb" 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