Merge pull request #114 from Deutscher-Tischfussballbund/fix/issue-108-yootheme-path-fix

fix: add base url to yootheme images
This commit is contained in:
MarvinF
2025-07-29 18:01:16 +02:00
committed by GitHub
@@ -382,7 +382,7 @@ function yoothemeBild($typ, $id, $alternativ, $resize = '', $zusatz = ""): ?stri
else
return null;
$bildpfad = "/images/sportsmanager/" . $typ . "/" . $typ_prefix . $id . "." . $ext;
$bildpfad = SPORTSMANAGER_JOOMLA_URL . "images/sportsmanager/" . $typ . "/" . $typ_prefix . $id . "." . $ext;
return '<img class="el-image" data-src="' . $bildpfad . $resize . '" ' . $zusatz . ' uk-img />';
}