UW4WSPWD7TVQWURMTLRNW6LKVFLUVQT7NBUP5A4WMAIVHSLUPH7AC
position: fixed;
top: 254px;
left: 0;
right: 0;
bottom: 0;
overflow: hidden;
z-index: 10;
min-height: 100%;
overflow-y: scroll;
position: relative;
top:50px;
min-height: 100%;
.menubar {
position: fixed;
top: 0;
left: 0;
height: 50px;
width: 100%;
transition: height 0.3s linear 0s;
z-index: 100;
padding: 8px 80px 8px 80px;
text-align: center;
background-color: #fafafa;
cursor: default;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
outline-style: none;
-webkit-box-shadow: 0 0 7px 0 rgba(0, 0, 0, .35);
-moz-box-shadow: 0 0 7px 0 rgba(0, 0, 0, .35);
box-shadow: 0 0 7px 0 rgba(0, 0, 0, .35)
}
.logo {
position: absolute;
left: 38px;
top: 12px;
text-align: left;
display: block;
margin: 0;
padding: 0;
}
.logo a {
color: @fontcolor;
}
.logo a:hover {
color: @hovercolor;
}
.logo img {
position: relative;
bottom: 5px;
left: 0;
object-fit: cover;
border-radius: 50%;
width: 32px;
height: 32px;
z-index: 500;
}
.logo span {
display: inline-block;
position: relative;
line-height: 1.2em;
left: 6px;
bottom: 5px;
width: 112px;
z-index: 500;
font-weight: 400;
}
.menubar-item {
padding: 8px 1em 8px 0;
color: @crumbs-textcolor;
font-weight: 600;
text-decoration: none !important;
display: inline-block;
text-transform: uppercase;
letter-spacing: .1em;
font-size: 0.9em;
}
.menubar-item:hover {
color: @hovercolor;
}
.page-header {
position: absolute;
top: 0;
left: 0;
height: 680px;
width: 100%;
border-style: solid;
border-color: @body-background;
text-align: center;
}
.page-header::before {
position: absolute;
content: "";
left: 0;
bottom: 0;
right: 0;
top: 0;
background: rgba(0, 0, 0, 0.25);
}
.menubar.scrolled {
background-color: #fff;
position: fixed;
width: 100%;
left: 0;
right: 0;
top: 0;
margin-top: -130px;
padding-top: 0 !important;
padding-bottom: 0 !important;
-webkit-box-shadow: 0 4px 15px -5px rgba(0, 0, 0, 0.1);
box-shadow: 0 4px 15px -5px rgba(0, 0, 0, 0.1);
}
.menubar.scrolled.awake {
margin-top: 0px;
-webkit-transition: .3s all ease-out;
-o-transition: .3s all ease-out;
transition: .3s all ease-out;
}
.menubar.scrolled.sleep {
-webkit-transition: .3s all ease-out;
-o-transition: .3s all ease-out;
transition: .3s all ease-out;
}
.page-top {
position: relative;
top:48px;
width: 100%;
height: 640px;
margin-bottom: 100px;
}
.page-home{
top:0;
margin-bottom: 0;
height: 680px;
}
<svg height="496pt" viewBox="0 0 496 496" width="496pt" xmlns="http://www.w3.org/2000/svg"><path d="m472 32h-16v-24c0-4.425781-3.585938-8-8-8h-64c-4.414062 0-8 3.574219-8 8v24h-256c-13.230469 0-24 10.769531-24 24v152h-88c-4.414062 0-8 3.574219-8 8v272c0 4.425781 3.585938 8 8 8h208c4.414062 0 8-3.574219 8-8v-184h248c13.230469 0 24-10.769531 24-24v-224c0-13.230469-10.769531-24-24-24zm-80-16h48v16h-48zm-280 96h32v96h-32zm96 368h-192v-256h192zm264-192h-248v-72c0-4.425781-3.585938-8-8-8h-56v-104c0-4.425781-3.585938-8-8-8h-40v-40c0-4.414062 3.59375-8 8-8h352c4.40625 0 8 3.585938 8 8v40h-40c-4.414062 0-8 3.574219-8 8v128c0 4.425781 3.585938 8 8 8h40v40c0 4.414062-3.59375 8-8 8zm8-176v112h-32v-112zm0 0"/><path d="m296 64c-57.34375 0-104 46.65625-104 104 0 8.800781 1.105469 17.535156 3.28125 25.992188l15.496094-3.984376c-1.839844-7.152343-2.777344-14.550781-2.777344-22.007812 0-48.519531 39.480469-88 88-88s88 39.480469 88 88-39.480469 88-88 88c-18.558594 0-36.3125-5.710938-51.328125-16.503906l-9.34375 12.984375c17.761719 12.765625 38.734375 19.519531 60.671875 19.519531 57.34375 0 104-46.65625 104-104s-46.65625-104-104-104zm0 0"/><path d="m296 240c39.695312 0 72-32.296875 72-72s-32.304688-72-72-72-72 32.296875-72 72 32.304688 72 72 72zm0-128c30.878906 0 56 25.128906 56 56s-25.121094 56-56 56-56-25.128906-56-56 25.121094-56 56-56zm0 0"/><path d="m40 432h144c4.414062 0 8-3.574219 8-8v-176c0-4.425781-3.585938-8-8-8h-144c-4.414062 0-8 3.574219-8 8v176c0 4.425781 3.585938 8 8 8zm8-36.6875 4.6875-4.6875c9.433594-9.433594 21.96875-14.625 35.3125-14.625 10.871094 0 21.175781 3.503906 29.734375 9.878906-9.566406 2.488282-18.359375 7.425782-25.535156 14.609375l-15.511719 15.511719h-28.6875zm112.488281 16.488281 4.199219 4.199219h-65.375l4.199219-4.199219c7.617187-7.617187 17.726562-11.800781 28.488281-11.800781s20.871094 4.183594 28.488281 11.800781zm15.511719-122.097656c-4.382812 3.960937-10.03125 6.296875-16 6.296875-13.230469 0-24-10.769531-24-24 0-5.96875 2.335938-11.617188 6.296875-16h33.703125zm-52.632812-33.703125c-2.183594 4.992188-3.367188 10.433594-3.367188 16 0 22.054688 17.945312 40 40 40 5.566406 0 11.007812-1.183594 16-3.367188v96.054688l-4.199219-4.199219c-8.738281-8.734375-19.847656-14.175781-31.863281-15.863281l-5.304688-5.304688c-12.457031-12.464843-29.015624-19.320312-46.632812-19.320312-14.664062 0-28.558594 4.816406-40 13.59375v-117.59375zm0 0"/><path d="m98.339844 322.339844 16-15.996094 11.3125 11.3125-15.996094 15.996094zm0 0"/><path d="m144 328h16v16h-16zm0 0"/><path d="m88 272h16v16h-16zm0 0"/><path d="m330.527344 352.414062c-12.65625-4.222656-22.726563-14.292968-26.941406-26.941406-1.089844-3.273437-4.136719-5.472656-7.585938-5.472656s-6.496094 2.199219-7.59375 5.472656c-4.214844 12.648438-14.285156 22.71875-26.941406 26.941406-3.265625 1.089844-5.464844 4.136719-5.464844 7.585938s2.199219 6.496094 5.472656 7.585938c12.65625 4.222656 22.726563 14.292968 26.941406 26.941406 1.089844 3.273437 4.136719 5.472656 7.585938 5.472656s6.496094-2.199219 7.59375-5.472656c4.214844-12.648438 14.285156-22.71875 26.941406-26.941406 3.265625-1.089844 5.464844-4.136719 5.464844-7.585938s-2.199219-6.496094-5.472656-7.585938zm-34.527344 22.019532c-3.9375-5.601563-8.832031-10.496094-14.433594-14.433594 5.609375-3.9375 10.496094-8.832031 14.433594-14.433594 3.9375 5.601563 8.832031 10.496094 14.433594 14.433594-5.601563 3.9375-10.496094 8.832031-14.433594 14.433594zm0 0"/><path d="m5.472656 143.585938c12.65625 4.222656 22.726563 14.292968 26.941406 26.941406 1.089844 3.273437 4.136719 5.472656 7.585938 5.472656s6.496094-2.199219 7.59375-5.472656c4.214844-12.648438 14.285156-22.71875 26.941406-26.941406 3.265625-1.089844 5.464844-4.136719 5.464844-7.585938s-2.199219-6.496094-5.472656-7.585938c-12.65625-4.222656-22.726563-14.292968-26.941406-26.941406-1.089844-3.273437-4.136719-5.472656-7.585938-5.472656s-6.496094 2.199219-7.59375 5.472656c-4.214844 12.648438-14.285156 22.71875-26.941406 26.941406-3.265625 1.089844-5.464844 4.136719-5.464844 7.585938s2.199219 6.496094 5.472656 7.585938zm34.527344-22.019532c3.9375 5.601563 8.832031 10.496094 14.433594 14.433594-5.601563 3.9375-10.496094 8.832031-14.433594 14.433594-3.9375-5.601563-8.832031-10.496094-14.433594-14.433594 5.601563-3.9375 10.496094-8.832031 14.433594-14.433594zm0 0"/></svg>
{{#if album.files}}
{{#if album.files.0.meta.exif.ImageDescription.length }}
<div class="page-teaser-outer-media">
{{> coverItem}}
</div>
{{/if}}
{{#if album.files}}
<div class="page-teaser-outer-media">
{{> coverItem}}
</div>
{{#each album.files~}}
{{#if album.files.0.meta.exif.ImageDescription.length }}
{{!-- skip the cover image file --}}
{{~else~}}
<div class="albumList"
data-sub-html="{{meta.caption_notused}}"
data-download-url="{{relative urls.download}}"
{{~#if isVideo~}}
data-html="#media{{id}}"
{{~else~}}
data-src="{{relative urls.large}}"
{{~/if~}}
data-exthumbimage="{{relative urls.thumbnail}}"
data-filename="{{filename}}"
{{#if meta.exif}}
data-datetimeoriginal="{{meta.exif.DateTimeOriginal}}"
data-fnumber="{{meta.exif.FNumber}}"
data-exposuretime="{{meta.exif.ExposureTime}}"
data-isospeedratings="{{meta.exif.ISO}}"
data-focallength="{{meta.exif.FocalLength}}"
data-lens="{{meta.exif.Lens}}"
data-model="{{meta.exif.Model}}"
data-make="{{meta.exif.Make}}"
data-gpslatitude="{{meta.exif.GPSLatitude}}"
data-gpslongitude="{{meta.exif.GPSLongitude}}"
data-gpslatituderef="{{meta.exif.GPSLatitudeRef}}"
data-gpslongituderef="{{meta.exif.GPSLongitudeRef}}"
data-gpsaltitude="{{meta.exif.GPSAltitude}}"
{{/if}}>
{{!-- Image or Video thumbnail --}}
{{~#if isVideo~}}
<a href="{{relative urls.download}}">
{{~else~}}
<a href="{{relative urls.large}}">
{{~/if~}}
<img src="{{relative urls.small}}" alt="{{#if meta.exif}} {{{meta.exif.DateTimeOriginal}}} {{else}} {{{meta.date}}} {{/if}}" />
<span class="show-gallery icon-zoom-in"></span>
</a>
{{#compare meta.animated "||" isVideo}}
<div class="video-overlay">
<img src="{{relative 'public/play.png'}}" />
</div>
{{/compare}}
</div>
{{/if}}
{{#each album.files~}}
<div class="albumList"
data-sub-html="{{meta.caption_notused}}"
data-download-url="{{relative urls.download}}"
{{~#if isVideo~}}
data-html="#media{{id}}"
{{~else~}}
data-src="{{relative urls.large}}"
{{~/if~}}
data-exthumbimage="{{relative urls.thumbnail}}"
data-filename="{{filename}}"
{{#if meta.exif}}
data-datetimeoriginal="{{meta.exif.DateTimeOriginal}}"
data-fnumber="{{meta.exif.FNumber}}"
data-exposuretime="{{meta.exif.ExposureTime}}"
data-isospeedratings="{{meta.exif.ISO}}"
data-focallength="{{meta.exif.FocalLength}}"
data-lens="{{meta.exif.Lens}}"
data-model="{{meta.exif.Model}}"
data-make="{{meta.exif.Make}}"
data-gpslatitude="{{meta.exif.GPSLatitude}}"
data-gpslongitude="{{meta.exif.GPSLongitude}}"
data-gpslatituderef="{{meta.exif.GPSLatitudeRef}}"
data-gpslongituderef="{{meta.exif.GPSLongitudeRef}}"
data-gpsaltitude="{{meta.exif.GPSAltitude}}"
{{/if}}>
{{!-- Image or Video thumbnail --}}
{{~#if isVideo~}}
<a href="{{relative urls.download}}">
{{~else~}}
<a href="{{relative urls.large}}">
{{~/if~}}
<img src="{{relative urls.small}}" alt="{{#if meta.exif}} {{{meta.exif.DateTimeOriginal}}} {{else}} {{{meta.date}}} {{/if}}" />
<span class="show-gallery icon-zoom-in"></span>
</a>
{{#compare meta.animated "||" isVideo}}
<div class="video-overlay">
<img src="{{relative 'public/play.png'}}" />
</div>
{{/compare}}
</div>
<header>
<h1>
<a href="{{relative gallery.home.url}}">
<img src="public/assets/avatar.jpg" class="avatar"></img>
<span>{{{gallery.title}}}</span>
</a>
</h1>
{{#compare album.depth '==' 0}}
<span class="info">{{album.summary}}</span>
{{/compare}}
</header>
{{#compare album.title '!=' 'Home'}}
<nav class="menubar">
<h1 class="logo">
<a href="{{relative gallery.home.url}}">
<img src="public/assets/avatar.jpg"></img>
<span>{{{gallery.title}}}</span>
</a>
</h1>
{{#each breadcrumbs~}}
<a class="menubar-item" href="{{relative url}}">{{this.title}}</a><span> </span>
{{~/each~}}
</nav>
{{/compare}}
{{#compare album.files.length '==' 1}}
<div class="page-top{{#compare album.title '==' 'Home'}} page-home{{/compare}}">
<div class="page-header" style="background-image: url('{{relative album.files.[0].urls.large}}')">
<div class="page-teaser-desc">
<h2>{{albumname album.title}}</h2>
<h3>{{album.files.0.meta.exif.ImageDescription}}</h3>
{{#if album.files.0.meta.exif.Copyright.length }}
<img src="public/assets/{{album.files.0.meta.exif.Copyright}}" class="avatar-small" alt="" title="{{album.files.0.meta.exif.Artist}}"></img>
{{/if}}
<p>{{album.files.0.meta.exif.Artist}}</p>
{{#if album.files.0.meta.exif.DocumentName.length }}
<a class="cover-link" href="{{album.files.0.meta.exif.DocumentName}}"> {{album.files.0.meta.exif.DocumentName}}</a>
{{/if}}
<p>{{album.summary}}</p>
</div>
</div>
</div>
{{/compare}}
<header id="pagetop">
<h1>
<a href="{{relative gallery.home.url}}">
<img src="public/assets/avatar.jpg" class="avatar"></img>
<span class="appname">{{{gallery.title}}}</span>
</a>
</h1>
{{#compare album.depth '==' 0}}
<span id="pageinfo" class="pageinfo">{{album.summary}}</span>
{{/compare}}
{{> crumbs}}
</header>
<h2>{{albumname album.title}}</h2>
<h3>{{album.files.0.meta.exif.ImageDescription}}</h3>
{{#if album.files.0.meta.exif.DocumentName.length }}
<a class="cover-link icon-external-link" href="{{album.files.0.meta.exif.DocumentName}}"> {{album.files.0.meta.exif.DocumentName}}</a>
{{/if}}
{{#if album.files.0.meta.exif.Copyright.length }}
<img src="public/assets/{{album.files.0.meta.exif.Copyright}}" class="avatar-small"></img>
{{/if}}
<p>{{album.files.0.meta.exif.Artist}}<br>{{album.summary}}</p>
<h2>{{albumname album.title}}</h2>
<h3>{{album.files.0.meta.exif.ImageDescription}}</h3>
{{#if album.files.0.meta.exif.Copyright.length }}
<img src="public/assets/{{album.files.0.meta.exif.Copyright}}" class="avatar-small" alt="" title="{{album.files.0.meta.exif.Artist}}"></img>
{{/if}}
<p>{{album.files.0.meta.exif.Artist}}</p>
{{#if album.files.0.meta.exif.DocumentName.length }}
<a class="cover-link" href="{{album.files.0.meta.exif.DocumentName}}"> {{album.files.0.meta.exif.DocumentName}}</a>
{{/if}}
<p>{{album.summary}}</p>
<div id="albums" class="cards clearfix">
{{!-- include the album description as cover item --}}
{{#compare album.files.length '==' 1}}
<div class="page-teaser-outer">
{{> coverItem}}
</div>
{{/compare}}
<div id="albums" class="cards clearfix{{#compare album.files.length '==' 0}} nocover{{/compare}}">
});
});
var scrollWindow = function() {
$('body').scroll(function(){
var $w = $(this), st =$(".page-top").position().top,navbar = $('.menubar'),y = (st) ? Math.abs(st):0;
if (y > 150) { if ( !navbar.hasClass('scrolled')) {navbar.addClass('scrolled');}}
if (y < 150) { if ( navbar.hasClass('scrolled')) {navbar.removeClass('scrolled sleep');}}
if ( y > 600) { if ( !navbar.hasClass('awake') ) {navbar.addClass('awake'); }}
if ( y < 600 ) {if ( navbar.hasClass('awake') ) {navbar.removeClass('awake');navbar.addClass('sleep');}}
});
};
// scrollWindow();
AUTOR="Peter Siebler" ## name autor
AVATAR="avatar.jpg" ## optional avatar imagage
DESCRIPTION="Unser erste Thailandurlaub" ## description
LINK="https://www.siebler.at" ## optional link (external or internal)
AUTOR="AUTORNAME" ## name autor
AVATAR="avatar.jpg" ## optional avatar imagage
LINK="https://DOMAIN" ## optional link (external or internal)
- For this application, the first photo is checked if the EXIF data (Artist, Copyright, ImageDescription, DocumentName) is set there.
If these are present, then the cover teaser is displayed.
- For this application, the first photo is checked if the EXIF data (Artist, Copyright, ImageDescription, DocumentName) is set there.
If these are present, then the cover teaser for gallery or albums is displayed.