Respect deliver_album_cover on player page and scale cover to 160px everywhere
This commit is contained in:
parent
530e9e53ff
commit
8175327ce3
5 changed files with 24 additions and 7 deletions
|
|
@ -129,9 +129,9 @@
|
|||
{% endif %}
|
||||
|
||||
<!-- Album cover -->
|
||||
{% if req.album_cover_url %}
|
||||
{% if req.album_cover_url and deliver_album_cover %}
|
||||
<div style="text-align:center;margin:1rem 0">
|
||||
<img src="{{ req.album_cover_url }}" alt="Album cover" style="max-width:320px;border-radius:.5rem">
|
||||
<img src="{{ req.album_cover_url }}" alt="Album cover" style="max-width:160px;border-radius:.5rem">
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue