Image fetch now uses real entity info instead of just URL filterkeys

This commit is contained in:
krateng 2023-10-22 19:40:56 +02:00
parent ccf75898e7
commit dfa564be0b
3 changed files with 3 additions and 4 deletions

View File

@ -12,7 +12,7 @@
{% if adminmode %}
<div
class="shiny alwaysshiny changeable-image" data-uploader="b64=>upload('{{ encodedalbum }}',b64)"
style="background-image:url('{{ images.get_album_image(album) }}');"
style="background-image:url('{{ images.get_album_image(info.album) }}');"
title="Drag & Drop to upload new image"
></div>
{% else %}

View File

@ -23,7 +23,7 @@
{% if adminmode %}
<div
class="shiny alwaysshiny changeable-image" data-uploader="b64=>upload('{{ encodedartist }}',b64)"
style="background-image:url('{{ images.get_artist_image(artist) }}');"
style="background-image:url('{{ images.get_artist_image(info.artist) }}');"
title="Drag & Drop to upload new image"
></div>
{% else %}

View File

@ -6,14 +6,13 @@
{% import 'partials/awards_track.jinja' as awards %}
<table class="top_info">
<tr>
<td class="image">
{% if adminmode %}
<div
class="shiny alwaysshiny changeable-image" data-uploader="b64=>upload('{{ encodedtrack }}',b64)"
style="background-image:url('{{ images.get_track_image(track) }}');"
style="background-image:url('{{ images.get_track_image(info.track) }}');"
title="Drag & Drop to upload new image"
></div>
{% else %}