Revert "First run at adding thumbnailing to images"
This reverts commit c00343abfe.
This commit is contained in:
@ -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">
|
||||
|
||||
Reference in New Issue
Block a user