Revert "First run at adding thumbnailing to images"

This reverts commit c00343abfe.
This commit is contained in:
2023-03-28 15:33:53 -04:00
parent dadc5db0f9
commit 845ee7d4e9
10 changed files with 41 additions and 84 deletions

View File

@ -2,7 +2,6 @@
{% load mathfilters %}
{% load static %}
{% load naturalduration %}
{% load thumbnail %}
{% block title %}{{object.title}}{% endblock %}
@ -11,11 +10,9 @@
<div class="row">
{% if object.cover%}
{% thumbnail object.cover "400" as im %}
<p style="float:left; width:{{im.width}}px; padding:0; border: 1px solid #ccc">
<img src="{{im.url}}" width={{im.width}} height={{im.height}}/>
<p style="float:left; width:402px; padding:0; border: 1px solid #ccc">
<img src="{{object.cover.url}}" width=400 />
</p>
{% endthumbnail %}
{% endif %}
<div style="float:left; width:600px; margin-left:10px; ">
{% if object.summary %}