Add base url config

This commit is contained in:
2023-07-04 11:22:34 +02:00
parent 52bc3105fd
commit d53391ef5a
8 changed files with 148 additions and 100 deletions

View File

@ -83,7 +83,7 @@ try {
foreach ($photos as $photo) {
$thumb = $photo->getThumbnailUrl();?>
<div class="photowrapper">
<img src="<?= $api->api_url.$thumb?>" id="<?= $photo->uid?>">
<img src="<?= $api->api_url.$thumb?>" id="<?= $photo->uid?>" loading="lazy">
<div class="votewrapper">
<button value="1" onclick="vote(this)" class="voteButton" data-uid="<?= $photo->uid?>" disabled>
👍 Dafür