add image dimentions for low connection UI optimization

This commit is contained in:
ghost 2023-04-03 01:57:52 +03:00
parent abe927b4bc
commit bac2ffa635

View File

@ -202,7 +202,7 @@ if (!empty($q)) {
<span><?php echo $result->description ?></span> <span><?php echo $result->description ?></span>
<?php } ?> <?php } ?>
<a href="<?php echo $result->url ?>"> <a href="<?php echo $result->url ?>">
<img src="<?php echo WEBSITE_DOMAIN; ?>/image.php?q=<?php echo urlencode(parse_url($result->url, PHP_URL_HOST)) ?>" alt="favicon" /> <img src="<?php echo WEBSITE_DOMAIN; ?>/image.php?q=<?php echo urlencode(parse_url($result->url, PHP_URL_HOST)) ?>" alt="favicon" width="16" height="16" />
<?php echo $result->url ?> <?php echo $result->url ?>
</a> </a>
</div> </div>