mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix plugin image URL
This commit is contained in:
parent
54ead8a336
commit
dcdac52dd8
1 changed files with 2 additions and 1 deletions
|
@ -70,7 +70,8 @@ function getPluginCardHtml(plugin, pluginConfigurationPages) {
|
|||
}
|
||||
|
||||
if (plugin.HasImage) {
|
||||
html += `<img src="/Plugins/${plugin.Id}/${plugin.Version}/Image" style="width:100%" />`;
|
||||
const imageUrl = ApiClient.getUrl(`/Plugins/${plugin.Id}/${plugin.Version}/Image`);
|
||||
html += `<img src="${imageUrl}" style="width:100%" />`;
|
||||
} else {
|
||||
html += `<div class="cardImage flex align-items-center justify-content-center ${cardBuilder.getDefaultBackgroundClass()}">`;
|
||||
html += '<span class="cardImageIcon material-icons extension"></span>';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue