Browse Source

add image dimentions for low connection UI optimization

sqliteway
ghost 2 years ago
parent
commit
bac2ffa635
  1. 2
      public/search.php

2
public/search.php

@ -202,7 +202,7 @@ if (!empty($q)) { @@ -202,7 +202,7 @@ if (!empty($q)) {
<span><?php echo $result->description ?></span>
<?php } ?>
<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 ?>
</a>
</div>

Loading…
Cancel
Save