- <a href="{{ image.get_absolute_url }}" style="display:inline-block; width:200px;">
-
- <img style="height: 100px"
- src="{% thumbnail image.file "x100" as thumb %}
+<div class="col-md-3">
+<div class="card">
+ <a href="{{ image.get_absolute_url }}">
+ <img style="height: 100px; width: auto;" class="card-img-top" src="{% thumbnail image.file "x100" as thumb %}