rethinking /photos
This commit is contained in:
parent
96c744cfe1
commit
eccc408d42
857 changed files with 39175 additions and 0 deletions
179
static/photos/Flowers/index.html
Normal file
179
static/photos/Flowers/index.html
Normal file
|
|
@ -0,0 +1,179 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||
|
||||
<title>Flowers</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(20170120174632.jpg);
|
||||
}</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=".">Flowers</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>
|
||||
|
||||
|
||||
</div>
|
||||
<footer>
|
||||
<p>
|
||||
<span>© Don Harper</span>
|
||||
<span>Generated by <a href="https://github.com/saimn/sigal">sigal</a></span>
|
||||
</p>
|
||||
</footer> </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: "20170120174632.jpg",
|
||||
description: "<div class='film-meta'><abbr title='film speed'>1600</abbr><abbr title='exposure'>1/160</abbr><abbr title='aperture'>2.799999952316284</abbr><abbr title='focal length'>60</abbr></div><abbr title='camera make and model'>OLYMPUS IMAGING CORP. E-PL5</abbr><abbr title='date'>Fri 20 Jan 2017 05:46:32 PM </abbr>",
|
||||
thumb: "thumbnails/20170120174632.jpg",
|
||||
image: "20170120174632.jpg"
|
||||
},
|
||||
{
|
||||
title: "20170120174632_v2.jpg",
|
||||
description: "<div class='film-meta'><abbr title='film speed'>1600</abbr><abbr title='exposure'>1/160</abbr><abbr title='aperture'>2.799999952316284</abbr><abbr title='focal length'>60</abbr></div><abbr title='camera make and model'>OLYMPUS IMAGING CORP. E-PL5</abbr><abbr title='date'>Fri 20 Jan 2017 05:46:32 PM </abbr>",
|
||||
thumb: "thumbnails/20170120174632_v2.jpg",
|
||||
image: "20170120174632_v2.jpg"
|
||||
},
|
||||
{
|
||||
title: "20170120174705.jpg",
|
||||
description: "<div class='film-meta'><abbr title='film speed'>1600</abbr><abbr title='exposure'>1/80</abbr><abbr title='aperture'>2.799999952316284</abbr><abbr title='focal length'>60</abbr></div><abbr title='camera make and model'>OLYMPUS IMAGING CORP. E-PL5</abbr><abbr title='date'>Fri 20 Jan 2017 05:47:05 PM </abbr>",
|
||||
thumb: "thumbnails/20170120174705.jpg",
|
||||
image: "20170120174705.jpg"
|
||||
},
|
||||
{
|
||||
title: "20170120174717.jpg",
|
||||
description: "<div class='film-meta'><abbr title='film speed'>1600</abbr><abbr title='exposure'>1/125</abbr><abbr title='aperture'>2.799999952316284</abbr><abbr title='focal length'>60</abbr></div><abbr title='camera make and model'>OLYMPUS IMAGING CORP. E-PL5</abbr><abbr title='date'>Fri 20 Jan 2017 05:47:17 PM </abbr>",
|
||||
thumb: "thumbnails/20170120174717.jpg",
|
||||
image: "20170120174717.jpg"
|
||||
},
|
||||
{
|
||||
title: "20170120174805.jpg",
|
||||
description: "<div class='film-meta'><abbr title='film speed'>1600</abbr><abbr title='exposure'>1/50</abbr><abbr title='aperture'>2.799999952316284</abbr><abbr title='focal length'>60</abbr></div><abbr title='camera make and model'>OLYMPUS IMAGING CORP. E-PL5</abbr><abbr title='date'>Fri 20 Jan 2017 05:48:05 PM </abbr>",
|
||||
thumb: "thumbnails/20170120174805.jpg",
|
||||
image: "20170120174805.jpg"
|
||||
},
|
||||
{
|
||||
title: "20170120174839.jpg",
|
||||
description: "<div class='film-meta'><abbr title='film speed'>1600</abbr><abbr title='exposure'>1/30</abbr><abbr title='aperture'>2.799999952316284</abbr><abbr title='focal length'>60</abbr></div><abbr title='camera make and model'>OLYMPUS IMAGING CORP. E-PL5</abbr><abbr title='date'>Fri 20 Jan 2017 05:48:39 PM </abbr>",
|
||||
thumb: "thumbnails/20170120174839.jpg",
|
||||
image: "20170120174839.jpg"
|
||||
},
|
||||
{
|
||||
title: "20170120175759.jpg",
|
||||
description: "<div class='film-meta'><abbr title='film speed'>1600</abbr><abbr title='exposure'>1/400</abbr></div><abbr title='camera make and model'>OLYMPUS IMAGING CORP. E-PL5</abbr><abbr title='date'>Fri 20 Jan 2017 05:57:59 PM </abbr>",
|
||||
thumb: "thumbnails/20170120175759.jpg",
|
||||
image: "20170120175759.jpg"
|
||||
},
|
||||
{
|
||||
title: "20170120175819.jpg",
|
||||
description: "<div class='film-meta'><abbr title='film speed'>1600</abbr><abbr title='exposure'>1/400</abbr></div><abbr title='camera make and model'>OLYMPUS IMAGING CORP. E-PL5</abbr><abbr title='date'>Fri 20 Jan 2017 05:58:19 PM </abbr>",
|
||||
thumb: "thumbnails/20170120175819.jpg",
|
||||
image: "20170120175819.jpg"
|
||||
},
|
||||
{
|
||||
title: "20170120175831.jpg",
|
||||
description: "<div class='film-meta'><abbr title='film speed'>1600</abbr><abbr title='exposure'>1/400</abbr></div><abbr title='camera make and model'>OLYMPUS IMAGING CORP. E-PL5</abbr><abbr title='date'>Fri 20 Jan 2017 05:58:31 PM </abbr>",
|
||||
thumb: "thumbnails/20170120175831.jpg",
|
||||
image: "20170120175831.jpg"
|
||||
},
|
||||
{
|
||||
title: "20170120175835.jpg",
|
||||
description: "<div class='film-meta'><abbr title='film speed'>1600</abbr><abbr title='exposure'>1/400</abbr></div><abbr title='camera make and model'>OLYMPUS IMAGING CORP. E-PL5</abbr><abbr title='date'>Fri 20 Jan 2017 05:58:35 PM </abbr>",
|
||||
thumb: "thumbnails/20170120175835.jpg",
|
||||
image: "20170120175835.jpg"
|
||||
},
|
||||
{
|
||||
title: "20170120175841.jpg",
|
||||
description: "<div class='film-meta'><abbr title='film speed'>1600</abbr><abbr title='exposure'>1/400</abbr></div><abbr title='camera make and model'>OLYMPUS IMAGING CORP. E-PL5</abbr><abbr title='date'>Fri 20 Jan 2017 05:58:41 PM </abbr>",
|
||||
thumb: "thumbnails/20170120175841.jpg",
|
||||
image: "20170120175841.jpg"
|
||||
},
|
||||
{
|
||||
title: "20170120175901.jpg",
|
||||
description: "<div class='film-meta'><abbr title='film speed'>1600</abbr><abbr title='exposure'>1/400</abbr></div><abbr title='camera make and model'>OLYMPUS IMAGING CORP. E-PL5</abbr><abbr title='date'>Fri 20 Jan 2017 05:59:01 PM </abbr>",
|
||||
thumb: "thumbnails/20170120175901.jpg",
|
||||
image: "20170120175901.jpg"
|
||||
},
|
||||
{
|
||||
title: "20170120175914.jpg",
|
||||
description: "<div class='film-meta'><abbr title='film speed'>1600</abbr><abbr title='exposure'>1/400</abbr></div><abbr title='camera make and model'>OLYMPUS IMAGING CORP. E-PL5</abbr><abbr title='date'>Fri 20 Jan 2017 05:59:14 PM </abbr>",
|
||||
thumb: "thumbnails/20170120175914.jpg",
|
||||
image: "20170120175914.jpg"
|
||||
},
|
||||
]
|
||||
|
||||
|
||||
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>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue