220 lines
No EOL
5.6 KiB
HTML
220 lines
No EOL
5.6 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
|
|
|
<title>Random - duckland.org's photo gallery</title>
|
|
<meta name="description" content="">
|
|
<meta name="author" content="Don Harper">
|
|
<meta name="viewport" content="width=device-width">
|
|
|
|
<link rel="stylesheet" href="../static/css/normalize.css">
|
|
<link rel="stylesheet" href="../static/themes/classic/galleria.classic.css">
|
|
<link rel="stylesheet" href="../static/css/style.css">
|
|
<style>
|
|
body::after{
|
|
position:absolute; width:0; height:0; overflow:hidden; z-index:-1;
|
|
content:url(red0-week-graph.png);
|
|
}</style>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<header>
|
|
<h1><a href="../">duckland.org's photo gallery</a></h1>
|
|
|
|
<nav id="menu">
|
|
<ul>
|
|
<li><a href="/photos/">Photos Home</a></li>
|
|
<li><a href="/">Home Page</a></li>
|
|
</ul>
|
|
</nav>
|
|
<div class="breadcrumb">
|
|
<h2>
|
|
<a href=".">Random</a></h2>
|
|
</div>
|
|
<hr>
|
|
</header>
|
|
|
|
<div id="main" role="main">
|
|
<div class="icons">
|
|
<a id="fullscreen"><img src="../static/img/fullscreen.png"
|
|
title="Fullscreen" alt="Fullscreen (f)" /></a>
|
|
</div>
|
|
<div id="gallery"></div>
|
|
|
|
|
|
|
|
|
|
<script src="../static/jquery-3.3.1.min.js"></script>
|
|
<script src="../static/galleria.min.js"></script>
|
|
<script src="../static/themes/classic/galleria.classic.min.js"></script>
|
|
<script src="../static/plugins/history/galleria.history.min.js"></script>
|
|
<script>
|
|
var data = [
|
|
{
|
|
title: "red0-week-graph",
|
|
description: "",
|
|
thumb: "thumbnails/red0-week-graph.png",
|
|
image: "red0-week-graph.png"
|
|
},
|
|
{
|
|
title: "2021-07-Inbound-firewall",
|
|
description: "",
|
|
thumb: "thumbnails/2021-07-Inbound-firewall.png",
|
|
image: "2021-07-Inbound-firewall.png"
|
|
},
|
|
{
|
|
title: "2021-07-Inbound-firewall",
|
|
description: "",
|
|
thumb: "thumbnails/2021-07-Inbound-firewall.webp",
|
|
image: "2021-07-Inbound-firewall.webp"
|
|
},
|
|
{
|
|
title: "P4070324",
|
|
description: "",
|
|
thumb: "thumbnails/P4070324.webp",
|
|
image: "P4070324.webp"
|
|
},
|
|
{
|
|
title: "Chalk-Heart",
|
|
description: "",
|
|
thumb: "thumbnails/Chalk-Heart.webp",
|
|
image: "Chalk-Heart.webp"
|
|
},
|
|
{
|
|
title: "gpd-pocket2",
|
|
description: "",
|
|
thumb: "thumbnails/gpd-pocket2.webp",
|
|
image: "gpd-pocket2.webp"
|
|
},
|
|
{
|
|
title: "201702",
|
|
description: "",
|
|
thumb: "thumbnails/201702.webp",
|
|
image: "201702.webp"
|
|
},
|
|
{
|
|
title: "SunsetatDrive-Thru",
|
|
description: "",
|
|
thumb: "thumbnails/SunsetatDrive-Thru.webp",
|
|
image: "SunsetatDrive-Thru.webp"
|
|
},
|
|
{
|
|
title: "harley-drive",
|
|
description: "",
|
|
thumb: "thumbnails/harley-drive.webp",
|
|
image: "harley-drive.webp"
|
|
},
|
|
{
|
|
title: "dice",
|
|
description: "",
|
|
thumb: "thumbnails/dice.webp",
|
|
image: "dice.webp"
|
|
},
|
|
{
|
|
title: "clouds",
|
|
description: "",
|
|
thumb: "thumbnails/clouds.webp",
|
|
image: "clouds.webp"
|
|
},
|
|
{
|
|
title: "Art-Rose",
|
|
description: "",
|
|
thumb: "thumbnails/Art-Rose.webp",
|
|
image: "Art-Rose.webp"
|
|
},
|
|
{
|
|
title: "covid",
|
|
description: "",
|
|
thumb: "thumbnails/covid.webp",
|
|
image: "covid.webp"
|
|
},
|
|
{
|
|
title: "blocked-sky",
|
|
description: "",
|
|
thumb: "thumbnails/blocked-sky.webp",
|
|
image: "blocked-sky.webp"
|
|
},
|
|
{
|
|
title: "side-by-side",
|
|
description: "",
|
|
thumb: "thumbnails/side-by-side.webp",
|
|
image: "side-by-side.webp"
|
|
},
|
|
{
|
|
title: "clouds2",
|
|
description: "",
|
|
thumb: "thumbnails/clouds2.webp",
|
|
image: "clouds2.webp"
|
|
},
|
|
{
|
|
title: "deadpool-sa",
|
|
description: "",
|
|
thumb: "thumbnails/deadpool-sa.webp",
|
|
image: "deadpool-sa.webp"
|
|
},
|
|
{
|
|
title: "201701",
|
|
description: "",
|
|
thumb: "thumbnails/201701.webp",
|
|
image: "201701.webp"
|
|
},
|
|
{
|
|
title: "sunset-on-katori",
|
|
description: "",
|
|
thumb: "thumbnails/sunset-on-katori.webp",
|
|
image: "sunset-on-katori.webp"
|
|
},
|
|
{
|
|
title: "2022-P52",
|
|
description: "",
|
|
thumb: "thumbnails/2022-P52.webp",
|
|
image: "2022-P52.webp"
|
|
},
|
|
]
|
|
|
|
Galleria.ready(function() {
|
|
/*
|
|
load thumbnails after gallery setup, and download has started
|
|
for the main images, but before the loading of map tiles starts
|
|
in the background. This ensures visible elements are prioritised
|
|
over non-visible elements
|
|
|
|
The choice to lazy load thumbnails in batches of 50 was not made
|
|
scientifically. Other numbers may yield better performance.
|
|
*/
|
|
this.lazyLoadChunks( 50 );
|
|
|
|
this.attachKeyboard({
|
|
right: this.next,
|
|
left: this.prev,
|
|
/* Toggle fullscreen display on press of 'f' key */
|
|
0x46: this.toggleFullscreen,
|
|
});
|
|
|
|
var gallery = this;
|
|
$('#fullscreen').click(function() {
|
|
gallery.toggleFullscreen();
|
|
});
|
|
|
|
$('.icons').appendTo(this.$('container'));
|
|
});
|
|
|
|
Galleria.configure({
|
|
imageCrop: false,
|
|
transition: "fade",
|
|
thumbnails: "lazy"
|
|
});
|
|
Galleria.run("#gallery", {dataSource: data});
|
|
|
|
</script>
|
|
</div>
|
|
<footer>
|
|
<p>
|
|
<span>© Don Harper</span>
|
|
<span>Generated by <a href="https://github.com/saimn/sigal">sigal</a></span>
|
|
</p>
|
|
</footer> </div>
|
|
</body>
|
|
</html> |