Default to album art if artist not found

This commit is contained in:
2023-04-18 13:29:43 -04:00
parent bee9ac8d25
commit 8f4ce4441b
3 changed files with 11 additions and 2 deletions

View File

@ -9,7 +9,7 @@
{% if object.thumbnail %}
<p style="float:left; width:300px; margin-right:10px;">
<img style="border:1px solid #ccc;" src="{{artist.thumbnail.url}}" width=300 height=300 />
<img style="border:1px solid #ccc;" src="{{artist.primary_image_url}}" width=300 height=300 />
</p>
{% else %}
{% if object.album_set.first.cover_image %}