mirror of
https://github.com/Ahwxorg/Binternet.git
synced 2026-03-11 08:54:37 +00:00
add a tag with href argument for clickable images
This commit is contained in:
parent
c633e79d59
commit
0ce966d236
1 changed files with 2 additions and 1 deletions
|
|
@ -41,7 +41,8 @@ $search = function($query) use($baseurl)
|
|||
$image = $result->{"images"}->{"orig"};
|
||||
$url = $image->{"url"};
|
||||
array_push($images, $url);
|
||||
echo "<img src='/image_proxy.php?url=", $url, "'>";
|
||||
echo "<a href='/image_proxy.php?url=", $url, "'>";
|
||||
echo "<img src='/image_proxy.php?url=", $url, "'></a>";
|
||||
}
|
||||
return $images;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue