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

@ -1,7 +1,6 @@
{% extends "base_list.html" %}
{% load mathfilters %}
{% load static %}
{% load thumbnail %}
{% block title %}{{object.name}}{% endblock %}
@ -9,11 +8,9 @@
<div class="row">
{% if object.thumbnail %}
{% thumbnail object.thumbnail "300x300" as im %}
<p style="float:left; width:{{im.width}}; margin-right:10px;">
<img style="border:1px solid #ccc;" src="{{im.url}}" width={{im.width}} height={{im.height}} />
<p style="float:left; width:300px; margin-right:10px;">
<img style="border:1px solid #ccc;" src="{{artist.thumbnail.url}}" width=300 height=300 />
</p>
{% endthumbnail %}
{% else %}
{% if object.album_set.first.cover_image %}
<p style="float:left; width:302px; padding:0; border: 1px solid #ccc">