Fix image view scaling
This commit is contained in:
parent
f38cd8bc55
commit
d3c559a23a
7
view.php
7
view.php
|
@ -1,10 +1,11 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Pòsweg's image gallery</title>
|
<title>Dendy\'s image gallery</title>
|
||||||
<style>
|
<style>
|
||||||
#img{
|
#img{
|
||||||
height: 70vh;
|
max-height: 70vh;
|
||||||
float: right;
|
float: right;
|
||||||
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
@ -24,7 +25,6 @@
|
||||||
echo "<h1>Tag list</h1>";
|
echo "<h1>Tag list</h1>";
|
||||||
|
|
||||||
echo "<img id=\"img\" src=\"/" . $_GET["i"] . "\">";
|
echo "<img id=\"img\" src=\"/" . $_GET["i"] . "\">";
|
||||||
|
|
||||||
//Tag list
|
//Tag list
|
||||||
$num_tags = sizeof($output);
|
$num_tags = sizeof($output);
|
||||||
|
|
||||||
|
@ -33,6 +33,7 @@
|
||||||
foreach($output as $tag){
|
foreach($output as $tag){
|
||||||
echo("<a href='http://" . $_SERVER['HTTP_HOST'] . "/tag.php?t=" . $tag . "'>" . $tag ."</a><br/>");
|
echo("<a href='http://" . $_SERVER['HTTP_HOST'] . "/tag.php?t=" . $tag . "'>" . $tag ."</a><br/>");
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue