Fix image view scaling

This commit is contained in:
Dendy 2020-12-24 01:17:19 +01:00
parent f38cd8bc55
commit d3c559a23a
Signed by: dendy
GPG Key ID: 0168B35FFD7F608F
1 changed files with 5 additions and 4 deletions

View File

@ -1,10 +1,11 @@
<html>
<head>
<title>Pòsweg's image gallery</title>
<title>Dendy\'s image gallery</title>
<style>
#img{
height: 70vh;
max-height: 70vh;
float: right;
max-width: 100%;
}
</style>
</head>
@ -24,15 +25,15 @@
echo "<h1>Tag list</h1>";
echo "<img id=\"img\" src=\"/" . $_GET["i"] . "\">";
//Tag list
$num_tags = sizeof($output);
echo "Tags(" . $num_tags . "):<br/>";
unset($output[0]);
foreach($output as $tag){
echo("<a href='http://" . $_SERVER['HTTP_HOST'] . "/tag.php?t=" . $tag . "'>" . $tag ."</a><br/>");
}
?>
</body>
</html>