Fix image size // Add sitemap.txt

This commit is contained in:
2020-08-14 20:31:22 +02:00
parent b696c849fe
commit c442a8db5a
2 changed files with 67 additions and 5 deletions

View File

@@ -26,7 +26,6 @@ function getRandomFromArray($ar) {
return $ar[$num];
}
// Obtain list of images from directory
$imgList = getImagesFromDir($root . $path);
$img = getRandomFromArray($imgList);
@@ -36,17 +35,21 @@ $img = getRandomFromArray($imgList);
<html>
<head>
<meta charset="utf-8" />
<title>Yagyuu.moe</title>
<title>Yagyuu</title>
<link rel="stylesheet" href="style.css">
<link rel="shortcut icon" href="favicon.ico" />
</head>
<body>
<div class="text-center"><p style="font-size:xx-large;">Press F5 for another pic!</p></div>
<!-- image displays here -->
<div class="pic-center">
<img src="<?php echo $path . $img ?>" alt="" />
<img src="<?php echo $path . $img ?>" height="700" alt="Cute Yagyuu <3" />
</div>
<a href="sources.php">Sources</a> | <a href="yagyuu.zip">Download all pictures</a> | <a href="http://riko.moe" target="_blank">Riko.moe</a> | <a href="mailto:miku2000@outlook.de?subject=[Yagyuu.moe]">Mail me</a>
</body>
<!-- Footer begins -->
<a href="sources.php">Sources</a> | <a href="yagyuu.zip">Download all pictures</a> | <a href="https://riko.moe" target="_blank">Riko.moe</a> | <a href="mailto:miku2000@outlook.de?subject=[Yagyuu.moe]">Mail me</a>
<!-- Footer ends -->
</html>