make gallery
black-action / runner / black formatter (push) Successful in -1m14s Details

This commit is contained in:
0xMRTT 2023-06-08 23:11:44 +02:00
parent 70d77306cc
commit a8795e12b0
79 changed files with 2930 additions and 0 deletions

14
gallery.json Normal file
View File

@ -0,0 +1,14 @@
{
"images_data_file": "./images_data.json",
"public_path": "./public",
"templates_path": "./templates",
"images_path": "./public/images/photos",
"thumbnails_path": "./public/images/thumbnails",
"thumbnail_height": 160,
"title": "MatrixAI Bot Gallery",
"description": "Images generated with AI by users",
"background_photo": "",
"url": "https://gallery-0xmrtt.p.projectsegfau.lt",
"background_photo_offset": 30,
"disable_captions": false
}

1026
images_data.json Normal file

File diff suppressed because it is too large Load Diff

483
public/css/default-skin.css Normal file
View File

@ -0,0 +1,483 @@
/*! PhotoSwipe Default UI CSS by Dmitry Semenov | photoswipe.com | MIT license */
/*
Contents:
1. Buttons
2. Share modal and links
3. Index indicator ("1 of X" counter)
4. Caption
5. Loading indicator
6. Additional styles (root element, top bar, idle state, hidden state, etc.)
*/
/*
1. Buttons
*/
/* <button> css reset */
.pswp__button {
width: 44px;
height: 44px;
position: relative;
background: none;
cursor: pointer;
overflow: visible;
-webkit-appearance: none;
display: block;
border: 0;
padding: 0;
margin: 0;
float: right;
opacity: 0.75;
-webkit-transition: opacity 0.2s;
transition: opacity 0.2s;
-webkit-box-shadow: none;
box-shadow: none; }
.pswp__button:focus, .pswp__button:hover {
opacity: 1; }
.pswp__button:active {
outline: none;
opacity: 0.9; }
.pswp__button::-moz-focus-inner {
padding: 0;
border: 0; }
/* pswp__ui--over-close class it added when mouse is over element that should close gallery */
.pswp__ui--over-close .pswp__button--close {
opacity: 1; }
.pswp__button,
.pswp__button--arrow--left:before,
.pswp__button--arrow--right:before {
background: url(../images/default-skin.png) 0 0 no-repeat;
background-size: 264px 88px;
width: 44px;
height: 44px; }
@media (-webkit-min-device-pixel-ratio: 1.1), (-webkit-min-device-pixel-ratio: 1.09375), (min-resolution: 105dpi), (min-resolution: 1.1dppx) {
/* Serve SVG sprite if browser supports SVG and resolution is more than 105dpi */
.pswp--svg .pswp__button,
.pswp--svg .pswp__button--arrow--left:before,
.pswp--svg .pswp__button--arrow--right:before {
background-image: url(../images/default-skin.svg); }
.pswp--svg .pswp__button--arrow--left,
.pswp--svg .pswp__button--arrow--right {
background: none; } }
.pswp__button--close {
background-position: 0 -44px; }
.pswp__button--share {
background-position: -44px -44px; }
.pswp__button--fs {
display: none; }
.pswp--supports-fs .pswp__button--fs {
display: block; }
.pswp--fs .pswp__button--fs {
background-position: -44px 0; }
.pswp__button--zoom {
display: none;
background-position: -88px 0; }
.pswp--zoom-allowed .pswp__button--zoom {
display: block; }
.pswp--zoomed-in .pswp__button--zoom {
background-position: -132px 0; }
/* no arrows on touch screens */
.pswp--touch .pswp__button--arrow--left,
.pswp--touch .pswp__button--arrow--right {
visibility: hidden; }
/*
Arrow buttons hit area
(icon is added to :before pseudo-element)
*/
.pswp__button--arrow--left,
.pswp__button--arrow--right {
background: none;
top: 50%;
margin-top: -50px;
width: 70px;
height: 100px;
position: absolute; }
.pswp__button--arrow--left {
left: 0; }
.pswp__button--arrow--right {
right: 0; }
.pswp__button--arrow--left:before,
.pswp__button--arrow--right:before {
content: '';
top: 35px;
background-color: rgba(0, 0, 0, 0.3);
height: 30px;
width: 32px;
position: absolute; }
.pswp__button--arrow--left:before {
left: 6px;
background-position: -138px -44px; }
.pswp__button--arrow--right:before {
right: 6px;
background-position: -94px -44px; }
/*
2. Share modal/popup and links
*/
.pswp__counter,
.pswp__share-modal {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none; }
.pswp__share-modal {
display: block;
background: rgba(0, 0, 0, 0.5);
width: 100%;
height: 100%;
top: 0;
left: 0;
padding: 10px;
position: absolute;
z-index: 1600;
opacity: 0;
-webkit-transition: opacity 0.25s ease-out;
transition: opacity 0.25s ease-out;
-webkit-backface-visibility: hidden;
will-change: opacity; }
.pswp__share-modal--hidden {
display: none; }
.pswp__share-tooltip {
z-index: 1620;
position: absolute;
background: #FFF;
top: 56px;
border-radius: 2px;
display: block;
width: auto;
right: 44px;
-webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
-webkit-transform: translateY(6px);
-ms-transform: translateY(6px);
transform: translateY(6px);
-webkit-transition: -webkit-transform 0.25s;
transition: transform 0.25s;
-webkit-backface-visibility: hidden;
will-change: transform; }
.pswp__share-tooltip a {
display: block;
padding: 8px 12px;
color: #000;
text-decoration: none;
font-size: 14px;
line-height: 18px; }
.pswp__share-tooltip a:hover {
text-decoration: none;
color: #000; }
.pswp__share-tooltip a:first-child {
/* round corners on the first/last list item */
border-radius: 2px 2px 0 0; }
.pswp__share-tooltip a:last-child {
border-radius: 0 0 2px 2px; }
.pswp__share-modal--fade-in {
opacity: 1; }
.pswp__share-modal--fade-in .pswp__share-tooltip {
-webkit-transform: translateY(0);
-ms-transform: translateY(0);
transform: translateY(0); }
/* increase size of share links on touch devices */
.pswp--touch .pswp__share-tooltip a {
padding: 16px 12px; }
a.pswp__share--facebook:before {
content: '';
display: block;
width: 0;
height: 0;
position: absolute;
top: -12px;
right: 15px;
border: 6px solid transparent;
border-bottom-color: #FFF;
-webkit-pointer-events: none;
-moz-pointer-events: none;
pointer-events: none; }
a.pswp__share--facebook:hover {
background: #3E5C9A;
color: #FFF; }
a.pswp__share--facebook:hover:before {
border-bottom-color: #3E5C9A; }
a.pswp__share--twitter:hover {
background: #55ACEE;
color: #FFF; }
a.pswp__share--pinterest:hover {
background: #CCC;
color: #CE272D; }
a.pswp__share--download:hover {
background: #DDD; }
/*
3. Index indicator ("1 of X" counter)
*/
.pswp__counter {
position: absolute;
left: 0;
top: 0;
height: 44px;
font-size: 13px;
line-height: 44px;
color: #FFF;
opacity: 0.75;
padding: 0 10px; }
/*
4. Caption
*/
.pswp__caption {
position: absolute;
left: 0;
bottom: 0;
width: 100%;
min-height: 44px; }
.pswp__caption small {
font-size: 11px;
color: #BBB; }
.pswp__caption__center {
text-align: left;
max-width: 420px;
margin: 0 auto;
font-size: 18px;
font-weight: bold;
padding: 10px;
line-height: 20px;
color: #CCC; }
.pswp__caption--empty {
display: none; }
/* Fake caption element, used to calculate height of next/prev image */
.pswp__caption--fake {
visibility: hidden; }
/*
5. Loading indicator (preloader)
You can play with it here - http://codepen.io/dimsemenov/pen/yyBWoR
*/
.pswp__preloader {
width: 44px;
height: 44px;
position: absolute;
top: 0;
left: 50%;
margin-left: -22px;
opacity: 0;
-webkit-transition: opacity 0.25s ease-out;
transition: opacity 0.25s ease-out;
will-change: opacity;
direction: ltr; }
.pswp__preloader__icn {
width: 20px;
height: 20px;
margin: 12px; }
.pswp__preloader--active {
opacity: 1; }
.pswp__preloader--active .pswp__preloader__icn {
/* We use .gif in browsers that don't support CSS animation */
background: url(../images/preloader.gif) 0 0 no-repeat; }
.pswp--css_animation .pswp__preloader--active {
opacity: 1; }
.pswp--css_animation .pswp__preloader--active .pswp__preloader__icn {
-webkit-animation: clockwise 500ms linear infinite;
animation: clockwise 500ms linear infinite; }
.pswp--css_animation .pswp__preloader--active .pswp__preloader__donut {
-webkit-animation: donut-rotate 1000ms cubic-bezier(0.4, 0, 0.22, 1) infinite;
animation: donut-rotate 1000ms cubic-bezier(0.4, 0, 0.22, 1) infinite; }
.pswp--css_animation .pswp__preloader__icn {
background: none;
opacity: 0.75;
width: 14px;
height: 14px;
position: absolute;
left: 15px;
top: 15px;
margin: 0; }
.pswp--css_animation .pswp__preloader__cut {
/*
The idea of animating inner circle is based on Polymer ("material") loading indicator
by Keanu Lee https://blog.keanulee.com/2014/10/20/the-tale-of-three-spinners.html
*/
position: relative;
width: 7px;
height: 14px;
overflow: hidden; }
.pswp--css_animation .pswp__preloader__donut {
-webkit-box-sizing: border-box;
box-sizing: border-box;
width: 14px;
height: 14px;
border: 2px solid #FFF;
border-radius: 50%;
border-left-color: transparent;
border-bottom-color: transparent;
position: absolute;
top: 0;
left: 0;
background: none;
margin: 0; }
@media screen and (max-width: 1024px) {
.pswp__preloader {
position: relative;
left: auto;
top: auto;
margin: 0;
float: right; } }
@-webkit-keyframes clockwise {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg); }
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg); } }
@keyframes clockwise {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg); }
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg); } }
@-webkit-keyframes donut-rotate {
0% {
-webkit-transform: rotate(0);
transform: rotate(0); }
50% {
-webkit-transform: rotate(-140deg);
transform: rotate(-140deg); }
100% {
-webkit-transform: rotate(0);
transform: rotate(0); } }
@keyframes donut-rotate {
0% {
-webkit-transform: rotate(0);
transform: rotate(0); }
50% {
-webkit-transform: rotate(-140deg);
transform: rotate(-140deg); }
100% {
-webkit-transform: rotate(0);
transform: rotate(0); } }
/*
6. Additional styles
*/
/* root element of UI */
.pswp__ui {
-webkit-font-smoothing: auto;
visibility: visible;
opacity: 1;
z-index: 1550; }
/* top black bar with buttons and "1 of X" indicator */
.pswp__top-bar {
position: absolute;
left: 0;
top: 0;
height: 44px;
width: 100%; }
.pswp__caption,
.pswp__top-bar,
.pswp--has_mouse .pswp__button--arrow--left,
.pswp--has_mouse .pswp__button--arrow--right {
-webkit-backface-visibility: hidden;
will-change: opacity;
-webkit-transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); }
/* pswp--has_mouse class is added only when two subsequent mousemove events occur */
.pswp--has_mouse .pswp__button--arrow--left,
.pswp--has_mouse .pswp__button--arrow--right {
visibility: visible; }
.pswp__top-bar,
.pswp__caption {
background-color: rgba(0, 0, 0, 0.5); }
/* pswp__ui--fit class is added when main image "fits" between top bar and bottom bar (caption) */
.pswp__ui--fit .pswp__top-bar,
.pswp__ui--fit .pswp__caption {
background-color: rgba(0, 0, 0, 0.3); }
/* pswp__ui--idle class is added when mouse isn't moving for several seconds (JS option timeToIdle) */
.pswp__ui--idle .pswp__top-bar {
opacity: 0; }
.pswp__ui--idle .pswp__button--arrow--left,
.pswp__ui--idle .pswp__button--arrow--right {
opacity: 0; }
/*
pswp__ui--hidden class is added when controls are hidden
e.g. when user taps to toggle visibility of controls
*/
.pswp__ui--hidden .pswp__top-bar,
.pswp__ui--hidden .pswp__caption,
.pswp__ui--hidden .pswp__button--arrow--left,
.pswp__ui--hidden .pswp__button--arrow--right {
/* Force paint & create composition layer for controls. */
opacity: 0.001; }
/* pswp__ui--one-slide class is added when there is just one item in gallery */
.pswp__ui--one-slide .pswp__button--arrow--left,
.pswp__ui--one-slide .pswp__button--arrow--right,
.pswp__ui--one-slide .pswp__counter {
display: none; }
.pswp__element--disabled {
display: none !important; }
.pswp--minimal--dark .pswp__top-bar {
background: none; }

95
public/css/main.css Normal file
View File

@ -0,0 +1,95 @@
body {
background-color: #eee;
font-family: 'Source Sans Pro', sans-serif;
}
.gallery {
display: flex;
flex-wrap: wrap;
}
.gallery>a, .gallery::after {
flex-basis: var(--w);
}
.gallery>a {
margin: 0.25rem;
flex-grow: calc(var(--w) / var(--h) * 100);
width: calc(var(--w) * 1px);
}
.gallery::after {
--w: 2;
--h: 1;
content: '';
flex-grow: 1000000;
}
.gallery>a>img {
display: block;
width: 100%;
}
.header-image {
height: 400px;
color: #eeeeee;
padding: 0px;
}
.header-info {
background-color: rgba(0, 0, 0, 0.5);
width: 100%;
height: 100%;
padding-top: 100px;
text-align: center;
}
.header-info-details h1 {
font-size: 56px;
}
.header-info-details {
border-top: 1px solid #eee;
width: 80%;
margin: 50px auto 0px;
padding-top: 50px;
font-size: 20px;
}
.gallery-section h2 {
text-align: center;
margin-top: 30px;
}
.gallery-section h2 a {
visibility: hidden;
color: #aaaaaa;
}
.gallery-section h2 a:hover {
color: #0056b3;
}
.gallery-section:hover h2 a {
visibility: visible;
}
.gallery-section h2 a svg {
height: 1.2rem
}
.gallery-section p {
width: 70%;
margin: 0px auto 20px;
}
.caption-date {
font-size: 15px;
font-weight: normal;
margin-top: 3px;
margin-bottom: 0px;
}
footer {
margin-top: 30px;
}

179
public/css/photoswipe.css Normal file
View File

@ -0,0 +1,179 @@
/*! PhotoSwipe main CSS by Dmitry Semenov | photoswipe.com | MIT license */
/*
Styles for basic PhotoSwipe functionality (sliding area, open/close transitions)
*/
/* pswp = photoswipe */
.pswp {
display: none;
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
overflow: hidden;
-ms-touch-action: none;
touch-action: none;
z-index: 1500;
-webkit-text-size-adjust: 100%;
/* create separate layer, to avoid paint on window.onscroll in webkit/blink */
-webkit-backface-visibility: hidden;
outline: none; }
.pswp * {
-webkit-box-sizing: border-box;
box-sizing: border-box; }
.pswp img {
max-width: none; }
/* style is added when JS option showHideOpacity is set to true */
.pswp--animate_opacity {
/* 0.001, because opacity:0 doesn't trigger Paint action, which causes lag at start of transition */
opacity: 0.001;
will-change: opacity;
/* for open/close transition */
-webkit-transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); }
.pswp--open {
display: block; }
.pswp--zoom-allowed .pswp__img {
/* autoprefixer: off */
cursor: -webkit-zoom-in;
cursor: -moz-zoom-in;
cursor: zoom-in; }
.pswp--zoomed-in .pswp__img {
/* autoprefixer: off */
cursor: -webkit-grab;
cursor: -moz-grab;
cursor: grab; }
.pswp--dragging .pswp__img {
/* autoprefixer: off */
cursor: -webkit-grabbing;
cursor: -moz-grabbing;
cursor: grabbing; }
/*
Background is added as a separate element.
As animating opacity is much faster than animating rgba() background-color.
*/
.pswp__bg {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: #000;
opacity: 0;
-webkit-transform: translateZ(0);
transform: translateZ(0);
-webkit-backface-visibility: hidden;
will-change: opacity; }
.pswp__scroll-wrap {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: hidden; }
.pswp__container,
.pswp__zoom-wrap {
-ms-touch-action: none;
touch-action: none;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0; }
/* Prevent selection and tap highlights */
.pswp__container,
.pswp__img {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-tap-highlight-color: transparent;
-webkit-touch-callout: none; }
.pswp__zoom-wrap {
position: absolute;
width: 100%;
-webkit-transform-origin: left top;
-ms-transform-origin: left top;
transform-origin: left top;
/* for open/close transition */
-webkit-transition: -webkit-transform 333ms cubic-bezier(0.4, 0, 0.22, 1);
transition: transform 333ms cubic-bezier(0.4, 0, 0.22, 1); }
.pswp__bg {
will-change: opacity;
/* for open/close transition */
-webkit-transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); }
.pswp--animated-in .pswp__bg,
.pswp--animated-in .pswp__zoom-wrap {
-webkit-transition: none;
transition: none; }
.pswp__container,
.pswp__zoom-wrap {
-webkit-backface-visibility: hidden; }
.pswp__item {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
overflow: hidden; }
.pswp__img {
position: absolute;
width: auto;
height: auto;
top: 0;
left: 0; }
/*
stretched thumbnail or div placeholder element (see below)
style is added to avoid flickering in webkit/blink when layers overlap
*/
.pswp__img--placeholder {
-webkit-backface-visibility: hidden; }
/*
div element that matches size of large image
large image loads on top of it
*/
.pswp__img--placeholder--blank {
background: #222; }
.pswp--ie .pswp__img {
width: 100% !important;
height: auto !important;
left: 0;
top: 0; }
/*
Error message appears when image is not loaded
(JS option errorMsg controls markup)
*/
.pswp__error-msg {
position: absolute;
left: 0;
top: 50%;
width: 100%;
text-align: center;
font-size: 14px;
line-height: 16px;
margin-top: -8px;
color: #CCC; }
.pswp__error-msg a {
color: #CCC;
text-decoration: underline; }

View File

@ -0,0 +1 @@
<svg width="264" height="88" viewBox="0 0 264 88" xmlns="http://www.w3.org/2000/svg"><title>default-skin 2</title><g fill="none" fill-rule="evenodd"><g><path d="M67.002 59.5v3.768c-6.307.84-9.184 5.75-10.002 9.732 2.22-2.83 5.564-5.098 10.002-5.098V71.5L73 65.585 67.002 59.5z" id="Shape" fill="#fff"/><g fill="#fff"><path d="M13 29v-5h2v3h3v2h-5zM13 15h5v2h-3v3h-2v-5zM31 15v5h-2v-3h-3v-2h5zM31 29h-5v-2h3v-3h2v5z" id="Shape"/></g><g fill="#fff"><path d="M62 24v5h-2v-3h-3v-2h5zM62 20h-5v-2h3v-3h2v5zM70 20v-5h2v3h3v2h-5zM70 24h5v2h-3v3h-2v-5z"/></g><path d="M20.586 66l-5.656-5.656 1.414-1.414L22 64.586l5.656-5.656 1.414 1.414L23.414 66l5.656 5.656-1.414 1.414L22 67.414l-5.656 5.656-1.414-1.414L20.586 66z" fill="#fff"/><path d="M111.785 65.03L110 63.5l3-3.5h-10v-2h10l-3-3.5 1.785-1.468L117 59l-5.215 6.03z" fill="#fff"/><path d="M152.215 65.03L154 63.5l-3-3.5h10v-2h-10l3-3.5-1.785-1.468L147 59l5.215 6.03z" fill="#fff"/><g><path id="Rectangle-11" fill="#fff" d="M160.957 28.543l-3.25-3.25-1.413 1.414 3.25 3.25z"/><path d="M152.5 27c3.038 0 5.5-2.462 5.5-5.5s-2.462-5.5-5.5-5.5-5.5 2.462-5.5 5.5 2.462 5.5 5.5 5.5z" id="Oval-1" stroke="#fff" stroke-width="1.5"/><path fill="#fff" d="M150 21h5v1h-5z"/></g><g><path d="M116.957 28.543l-1.414 1.414-3.25-3.25 1.414-1.414 3.25 3.25z" fill="#fff"/><path d="M108.5 27c3.038 0 5.5-2.462 5.5-5.5s-2.462-5.5-5.5-5.5-5.5 2.462-5.5 5.5 2.462 5.5 5.5 5.5z" stroke="#fff" stroke-width="1.5"/><path fill="#fff" d="M106 21h5v1h-5z"/><path fill="#fff" d="M109.043 19.008l-.085 5-1-.017.085-5z"/></g></g></g></svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

BIN
public/images/preloader.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 866 B

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

836
public/index.html Normal file
View File

@ -0,0 +1,836 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta property="og:title" content="MatrixAI Bot Gallery">
<meta property="og:description" content="Images generated with AI by users">
<meta property="og:image" content="https://gallery-0xmrtt.p.projectsegfau.lt/images/photos/0809d0e5-16b0-440d-ab4d-96a30641b847.png">
<meta property="og:url" content="https://gallery-0xmrtt.p.projectsegfau.lt">
<meta property="og:site_name" content="MatrixAI Bot Gallery">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:image:alt" content="MatrixAI Bot Gallery">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link rel="stylesheet" href="css/photoswipe.css">
<link rel="stylesheet" href="css/default-skin.css">
<link rel="stylesheet" href="css/main.css">
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:200&display=swap" rel="stylesheet">
<title>MatrixAI Bot Gallery</title>
<style>
.header-image {
background: #333366 url("images/photos/0809d0e5-16b0-440d-ab4d-96a30641b847.png");
background-position: center 30%;
background-repeat: no-repeat;
background-size: cover;
}
</style>
</head>
<body>
<div class="jumbotron header-image">
<div class="header-info">
<h1>MatrixAI Bot Gallery</h1>
<div class="header-info-details">Images generated with AI by users</div>
</div>
</div>
<!-- GALLERY DESCRIPTIONS -->
<div class="container-fluid">
<div class="row">
<div class="col gallery-section">
<h2>
<a name="section_0"></a>
MatrixAI Bot Gallery
<a href="#section_0">
<svg class="section-link-icon" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1" />
</svg>
</a>
</h2>
<p></p>
</div>
</div>
<div class="row">
<div class="col gallery">
<a href="images/photos/0809d0e5-16b0-440d-ab4d-96a30641b847.png"
class="gallery-photo"
data-index="0"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/0809d0e5-16b0-440d-ab4d-96a30641b847.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/08328c29-d0a0-41b4-818b-f41d4dc27952.png"
class="gallery-photo"
data-index="1"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/08328c29-d0a0-41b4-818b-f41d4dc27952.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/0dceaae7-9d34-450f-b327-6cd0f2e6f637.png"
class="gallery-photo"
data-index="2"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/0dceaae7-9d34-450f-b327-6cd0f2e6f637.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/0f70c312-61ce-4d97-9a28-4657e2ca5036.png"
class="gallery-photo"
data-index="3"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/0f70c312-61ce-4d97-9a28-4657e2ca5036.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/12b754a9-05ee-4191-aacb-ecdabf2a0d2c.png"
class="gallery-photo"
data-index="4"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/12b754a9-05ee-4191-aacb-ecdabf2a0d2c.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/1a360b91-3ae5-493c-9345-4fc0c27a153a.png"
class="gallery-photo"
data-index="5"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/1a360b91-3ae5-493c-9345-4fc0c27a153a.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/1d21766c-5442-434e-a3a5-b069ff37d337.png"
class="gallery-photo"
data-index="6"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/1d21766c-5442-434e-a3a5-b069ff37d337.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/1fe81fc1-a229-4814-97b4-553c711c8bbd.png"
class="gallery-photo"
data-index="7"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/1fe81fc1-a229-4814-97b4-553c711c8bbd.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/206698d6-1267-445c-908f-2b38e370c697.png"
class="gallery-photo"
data-index="8"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/206698d6-1267-445c-908f-2b38e370c697.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/26586135-6611-4b4a-9d67-61617b8ad854.png"
class="gallery-photo"
data-index="9"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/26586135-6611-4b4a-9d67-61617b8ad854.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/2ce04ec0-b1e9-4c6c-adca-6165531f2e0d.png"
class="gallery-photo"
data-index="10"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/2ce04ec0-b1e9-4c6c-adca-6165531f2e0d.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/2fd42066-1a41-4da4-bec3-c7bcd0015e7a.png"
class="gallery-photo"
data-index="11"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/2fd42066-1a41-4da4-bec3-c7bcd0015e7a.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/3509a1be-3988-4782-b357-ceedd1c97807.png"
class="gallery-photo"
data-index="12"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/3509a1be-3988-4782-b357-ceedd1c97807.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/3b909157-3583-4106-846d-d8b5f592ceff.png"
class="gallery-photo"
data-index="13"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/3b909157-3583-4106-846d-d8b5f592ceff.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/41b46ec6-db4f-42a6-bbee-1874455cc41f.png"
class="gallery-photo"
data-index="14"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/41b46ec6-db4f-42a6-bbee-1874455cc41f.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/4389a7a7-3207-408a-8f63-47450588ef26.png"
class="gallery-photo"
data-index="15"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/4389a7a7-3207-408a-8f63-47450588ef26.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/43a244a3-0db8-41e4-a5b0-e11d589c5dac.png"
class="gallery-photo"
data-index="16"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/43a244a3-0db8-41e4-a5b0-e11d589c5dac.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/485da192-2454-43cf-a94b-431bb6296536.png"
class="gallery-photo"
data-index="17"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/485da192-2454-43cf-a94b-431bb6296536.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/4acd6d18-1111-4386-8dc9-a4bda35d2e3e.png"
class="gallery-photo"
data-index="18"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/4acd6d18-1111-4386-8dc9-a4bda35d2e3e.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/4df88000-2494-41a3-871d-dbb536e7ec5d.png"
class="gallery-photo"
data-index="19"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/4df88000-2494-41a3-871d-dbb536e7ec5d.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/5308ce50-9989-4555-8168-57cc835bfdc6.png"
class="gallery-photo"
data-index="20"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/5308ce50-9989-4555-8168-57cc835bfdc6.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/56740b3c-d25e-41aa-b907-96222c78c873.png"
class="gallery-photo"
data-index="21"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/56740b3c-d25e-41aa-b907-96222c78c873.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/5e8ba554-1970-47a5-85ec-d6e9569fba98.png"
class="gallery-photo"
data-index="22"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/5e8ba554-1970-47a5-85ec-d6e9569fba98.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/5f9da27b-65b3-4829-ba27-0b5a281cd67a.png"
class="gallery-photo"
data-index="23"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/5f9da27b-65b3-4829-ba27-0b5a281cd67a.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/61bc4bc7-78d4-4377-9380-fa398cbbabee.png"
class="gallery-photo"
data-index="24"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/61bc4bc7-78d4-4377-9380-fa398cbbabee.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/63fdeaa9-6459-4122-8e69-9074521be2d8.png"
class="gallery-photo"
data-index="25"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/63fdeaa9-6459-4122-8e69-9074521be2d8.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/6806c70e-c93e-4516-8a85-26b412551049.png"
class="gallery-photo"
data-index="26"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/6806c70e-c93e-4516-8a85-26b412551049.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/68f381d7-8b48-4b15-bbef-17633414147d.png"
class="gallery-photo"
data-index="27"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/68f381d7-8b48-4b15-bbef-17633414147d.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/6e852e5f-97dd-46dc-999b-a38bd2c5e6a9.png"
class="gallery-photo"
data-index="28"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/6e852e5f-97dd-46dc-999b-a38bd2c5e6a9.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/71601114-0e45-4b5b-b0ab-7ca47a214b3b.png"
class="gallery-photo"
data-index="29"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/71601114-0e45-4b5b-b0ab-7ca47a214b3b.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/72166ef9-aa46-480b-be26-f308e103c628.png"
class="gallery-photo"
data-index="30"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/72166ef9-aa46-480b-be26-f308e103c628.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/797ac671-62be-4d23-aa87-6ee106e6fc2e.png"
class="gallery-photo"
data-index="31"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/797ac671-62be-4d23-aa87-6ee106e6fc2e.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/7a877a69-35c1-4d7f-a953-3b6dc1b0869b.png"
class="gallery-photo"
data-index="32"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/7a877a69-35c1-4d7f-a953-3b6dc1b0869b.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/7b467a49-57e9-464d-8887-6998377c3bd5.png"
class="gallery-photo"
data-index="33"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/7b467a49-57e9-464d-8887-6998377c3bd5.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/7e816894-cc91-47cf-a9cb-21ce607d698b.png"
class="gallery-photo"
data-index="34"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/7e816894-cc91-47cf-a9cb-21ce607d698b.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/812f8089-b0e4-423c-aa4c-a1289f6b1389.png"
class="gallery-photo"
data-index="35"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/812f8089-b0e4-423c-aa4c-a1289f6b1389.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/82e8721c-8b89-46a1-a6e4-624e7abf2dae.png"
class="gallery-photo"
data-index="36"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/82e8721c-8b89-46a1-a6e4-624e7abf2dae.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/8cb312a3-c8a0-4100-a40d-7db241686798.png"
class="gallery-photo"
data-index="37"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/8cb312a3-c8a0-4100-a40d-7db241686798.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/9497d512-1ae1-450d-ac76-1e91d7f658f9.png"
class="gallery-photo"
data-index="38"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/9497d512-1ae1-450d-ac76-1e91d7f658f9.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/951c18d9-6cb2-49e5-abdc-254b7695d7f3.png"
class="gallery-photo"
data-index="39"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/951c18d9-6cb2-49e5-abdc-254b7695d7f3.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/96328d0c-3b66-4b21-ad52-a0fe63a23a77.png"
class="gallery-photo"
data-index="40"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/96328d0c-3b66-4b21-ad52-a0fe63a23a77.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/96809398-dc7d-413b-a3f2-e2f9c3780e86.png"
class="gallery-photo"
data-index="41"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/96809398-dc7d-413b-a3f2-e2f9c3780e86.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/97140950-4949-4fa0-a87e-cf9606efb001.png"
class="gallery-photo"
data-index="42"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/97140950-4949-4fa0-a87e-cf9606efb001.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/a4ea1777-fef1-42db-9056-1ae7548ba496.png"
class="gallery-photo"
data-index="43"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/a4ea1777-fef1-42db-9056-1ae7548ba496.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/abd07ddf-6f6d-4701-8ce7-f9428b673d2f.png"
class="gallery-photo"
data-index="44"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/abd07ddf-6f6d-4701-8ce7-f9428b673d2f.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/ae9786d9-2822-46f0-93df-843ada12cdec.png"
class="gallery-photo"
data-index="45"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/ae9786d9-2822-46f0-93df-843ada12cdec.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/b36685e7-0df8-49dd-8b01-ab0e0d2b9eae.png"
class="gallery-photo"
data-index="46"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/b36685e7-0df8-49dd-8b01-ab0e0d2b9eae.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/b3a0d8b5-b967-47ee-9a6b-a531a14cc98a.png"
class="gallery-photo"
data-index="47"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/b3a0d8b5-b967-47ee-9a6b-a531a14cc98a.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/b503d495-5829-462f-8d57-8383d5978147.png"
class="gallery-photo"
data-index="48"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/b503d495-5829-462f-8d57-8383d5978147.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/b8ccab42-e33e-4bc7-9375-5e45b0d81dd1.png"
class="gallery-photo"
data-index="49"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/b8ccab42-e33e-4bc7-9375-5e45b0d81dd1.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/b99552cf-9457-4dc2-95ff-eea335e478ce.png"
class="gallery-photo"
data-index="50"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/b99552cf-9457-4dc2-95ff-eea335e478ce.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/bf11f044-7897-4d39-adc4-ca7cd35a88c3.png"
class="gallery-photo"
data-index="51"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/bf11f044-7897-4d39-adc4-ca7cd35a88c3.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/c0961324-ca34-4b16-82fa-8623bbae0f7b.png"
class="gallery-photo"
data-index="52"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/c0961324-ca34-4b16-82fa-8623bbae0f7b.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/c24e5042-833b-44c4-8df8-343f71f87365.png"
class="gallery-photo"
data-index="53"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/c24e5042-833b-44c4-8df8-343f71f87365.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/c62ea865-35ee-4519-8d6c-5fdac79255d0.png"
class="gallery-photo"
data-index="54"
data-type="image"
data-gallery="0"
data-width="512"
data-height="512"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/c62ea865-35ee-4519-8d6c-5fdac79255d0.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/ceb76b51-0b84-45ac-856f-ae8125fbb780.png"
class="gallery-photo"
data-index="55"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/ceb76b51-0b84-45ac-856f-ae8125fbb780.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/d988dad3-c68f-431f-9e47-f0bc373bdead.png"
class="gallery-photo"
data-index="56"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/d988dad3-c68f-431f-9e47-f0bc373bdead.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/e1e5c95d-0fd6-436a-be51-4dcd67e29d69.png"
class="gallery-photo"
data-index="57"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/e1e5c95d-0fd6-436a-be51-4dcd67e29d69.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/e3b88a73-d439-4ca2-8704-c19af53db894.png"
class="gallery-photo"
data-index="58"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/e3b88a73-d439-4ca2-8704-c19af53db894.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/e8fa00fe-26f9-4dfc-8007-c96dcda01715.png"
class="gallery-photo"
data-index="59"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/e8fa00fe-26f9-4dfc-8007-c96dcda01715.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/edca303f-0ab7-4bae-bcf2-e5e5034e5641.png"
class="gallery-photo"
data-index="60"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/edca303f-0ab7-4bae-bcf2-e5e5034e5641.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/f088b16e-3c75-4932-8712-d28384d3cd2c.png"
class="gallery-photo"
data-index="61"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/f088b16e-3c75-4932-8712-d28384d3cd2c.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/fd3de702-81d0-4e2e-b627-9c03ae826ba9.png"
class="gallery-photo"
data-index="62"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/fd3de702-81d0-4e2e-b627-9c03ae826ba9.jpg" class="thumbnail rounded" alt=""/></a>
<a href="images/photos/ff7fe46c-8c06-4aa4-a9a6-b3585c63d33e.png"
class="gallery-photo"
data-index="63"
data-type="image"
data-gallery="0"
data-width="768"
data-height="768"
data-date=""
style="--w: 160; --h: 160">
<img src="images/thumbnails/ff7fe46c-8c06-4aa4-a9a6-b3585c63d33e.jpg" class="thumbnail rounded" alt=""/></a>
</div>
</div>
</div>
<!-- END GALLERY DESCRIPTIONS -->
<div class="pswp" tabindex="-1" role="dialog" aria-hidden="true">
<div class="pswp__bg"></div>
<div class="pswp__scroll-wrap">
<div class="pswp__container">
<div class="pswp__item"></div>
<div class="pswp__item"></div>
<div class="pswp__item"></div>
</div>
<div class="pswp__ui pswp__ui--hidden">
<div class="pswp__top-bar">
<div class="pswp__counter"></div>
<button class="pswp__button pswp__button--close" title="Close (Esc)"></button>
<button class="pswp__button pswp__button--share" title="Share"></button>
<button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button>
<button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button>
<div class="pswp__preloader">
<div class="pswp__preloader__icn">
<div class="pswp__preloader__cut">
<div class="pswp__preloader__donut"></div>
</div>
</div>
</div>
</div>
<div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">
<div class="pswp__share-tooltip"></div>
</div>
<button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)"></button>
<button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)"></button>
<div class="pswp__caption">
<div class="pswp__caption__center"></div>
</div>
</div>
</div>
</div>
<footer class="container-fluid text-right">
<p>Created by <a rel="noreferrer" href="https://www.haltakov.net/simple-photo-gallery">Simple Photo Gallery</a></p>
</footer>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<script src="js/photoswipe.min.js"></script>
<script src="js/photoswipe-ui-default.min.js"></script>
<script src="js/main.js"></script>
</body>
</html>

97
public/js/main.js Normal file
View File

@ -0,0 +1,97 @@
var slides = {}
function createSlides() {
$("a.gallery-photo").each(function (photo_id, photo) {
var slide = {
w: photo.getAttribute('data-width'),
h: photo.getAttribute('data-height'),
msrc: photo.getElementsByTagName('img')[0].getAttribute('src'),
title: photo.getElementsByTagName('img')[0].getAttribute('alt'),
date: photo.getAttribute('data-date'),
};
if (photo.getAttribute('data-type') == 'image')
slide['src'] = photo.getAttribute('href');
else
slide['html'] = '<video style="margin: 0px auto; height: 100%; max-width: 100%; max-height: 100%; display: block" data-index="' + photo.getAttribute('data-index') +
'" controls><source src="' + photo.getAttribute('href') + '" type="video/mp4"></video>';
var gallery_id = photo.getAttribute('data-gallery');
if (!(gallery_id in slides))
slides[gallery_id] = [];
slides[gallery_id].push(slide);
});
}
function getThumbBounds(gallery, index) {
var thumbnail = $('div.gallery a[data-gallery="'+gallery+'"][data-index="'+index+'"]')[0];
var pageYScroll = window.pageYOffset || document.documentElement.scrollTop;
var rect = thumbnail.getBoundingClientRect();
return {x: rect.left, y: rect.top + pageYScroll, w: rect.width};
}
function addCaptionHTML(item, captionEl, isFake) {
if(!item.title && !item.date) {
captionEl.children[0].innerText = '';
return false;
}
captionEl.children[0].innerHTML = item.title;
if (item.date) {
captionEl.children[0].innerHTML += '<p class="caption-date">' + item.date + '</p>';
}
return true;
}
function openPhotoSwipe() {
var index = parseInt($(this).attr('data-index'))
var gallery_id = $(this).attr('data-gallery')
var options = {
index: index,
getThumbBoundsFn: function (id) { return getThumbBounds(gallery_id, id) },
addCaptionHTMLFn: addCaptionHTML,
preload: [2,5],
zoomEl: false,
shareEl: true,
barsSize: {top:0, bottom:0},
bgOpacity: 1,
loop: false,
mainClass: 'pswp--minimal--dark',
shareButtons: [
{id:'download', label:'Download image', url:'{{raw_image_url}}', download:true}
],
};
var gallery = new PhotoSwipe( $('.pswp')[0], PhotoSwipeUI_Default, slides[gallery_id], options);
gallery.listen('initialZoomOut', function() {
if (this.currItem.html) {
var videos = $('div.pswp__item video[data-index='+this.getCurrentIndex()+']')
if (videos.length > 0)
videos[0].pause()
}
});
gallery.listen('afterChange', function() {
var videos = $('div.pswp__item video')
for (var i=0; i<videos.length; ++i)
videos[i].pause()
if (this.currItem.html) {
var videos = $('div.pswp__item video[data-index='+this.getCurrentIndex()+']')
if (videos.length > 0)
videos[0].play()
}
});
gallery.init();
return false;
}
$( document ).ready(function() {
createSlides()
$('div.gallery a').on('click', openPhotoSwipe)
});

File diff suppressed because one or more lines are too long

4
public/js/photoswipe.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,77 @@
{% macro gallery_images_index(from, to, images) -%}
<div class="row">
<div class="col gallery">
{% for i in range(from, to) %}
<a href="{{ images[i].src }}"
class="gallery-photo"
data-index="{{ i-from }}"
data-type="{{ images[i].type }}"
data-gallery="{{ from }}"
data-width="{{ images[i].size[0] }}"
data-height="{{ images[i].size[1] }}"
data-date="{{ images[i].date }}"
style="--w: {{ images[i].thumbnail_size[0] }}; --h: {{ images[i].thumbnail_size[1] }}">
<img src="{{ images[i].thumbnail }}" class="thumbnail rounded" alt="{{ images[i].description }}"/></a>
{% endfor %}
</div>
</div>
{%- endmacro %}
{% macro gallery_images_string(from, to, images) -%}
<div class="row">
<div class="col gallery">
{% set index = namespace(value=0) %}
{% set first_photo = namespace(value=-1) %}
{% for image in images %}
{% if image.name >= from and image.name <= to %}
{% if first_photo.value == -1 %}
{% set first_photo.value = loop.index %}
{% endif %}
<a href="{{ image.src }}"
class="gallery-photo"
data-index="{{ index.value }}"
data-type="{{ image.type }}"
data-gallery="{{ first_photo.value }}"
data-width="{{ image.size[0] }}"
data-height="{{ image.size[1] }}"
data-date="{{ image.date }}"
style="--w: {{ image.thumbnail_size[0] }}; --h: {{ image.thumbnail_size[1] }}">
<img src="{{ image.thumbnail }}" class="thumbnail rounded" alt="{{ image.description }}"/></a>
{% set index.value = index.value + 1 %}
{% endif %}
{% endfor %}
</div>
</div>
{%- endmacro %}
{% macro section(from, to, title, description, images) -%}
<div class="container-fluid">
<div class="row">
<div class="col gallery-section">
<h2>
<a name="section_{{ from }}"></a>
{{ title }}
<a href="#section_{{ from }}">
<svg class="section-link-icon" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1" />
</svg>
</a>
</h2>
<p>{{ description }}</p>
</div>
</div>
{% if from is number %}
{{ gallery_images_index(from, to, images) }}
{% else %}
{{ gallery_images_string(from, to, images) }}
{% endif %}
</div>
{%- endmacro %}

View File

@ -0,0 +1,114 @@
{% import 'gallery_macros.jinja' as gallery_macros %}
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta property="og:title" content="{{ gallery_config['title']}}">
<meta property="og:description" content="{{ gallery_config['description'] }}">
<meta property="og:image" content="{{ gallery_config['url'] }}/images/photos/{{ background_photo }}">
<meta property="og:url" content="{{ gallery_config['url'] }}">
<meta property="og:site_name" content="{{ gallery_config['title']}}">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:image:alt" content="{{ gallery_config['title']}}">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link rel="stylesheet" href="css/photoswipe.css">
<link rel="stylesheet" href="css/default-skin.css">
<link rel="stylesheet" href="css/main.css">
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:200&display=swap" rel="stylesheet">
<title>{{ gallery_config['title']}}</title>
{# These definitions are pulled out of the .css file here, so that the background image can be templated. #}
<style>
.header-image {
background: #333366 url("images/photos/{{ background_photo }}");
background-position: center {{ gallery_config['background_photo_offset'] }}%;
background-repeat: no-repeat;
background-size: cover;
}
</style>
</head>
<body>
<div class="jumbotron header-image">
<div class="header-info">
<h1>{{ gallery_config['title'] }}</h1>
<div class="header-info-details">{{ gallery_config['description'] }}</div>
</div>
</div>
<!-- GALLERY DESCRIPTIONS -->
{{ gallery_macros.section(0, images|length,
gallery_config['title'],
'',
images)}}
<!-- END GALLERY DESCRIPTIONS -->
<div class="pswp" tabindex="-1" role="dialog" aria-hidden="true">
<div class="pswp__bg"></div>
<div class="pswp__scroll-wrap">
<div class="pswp__container">
<div class="pswp__item"></div>
<div class="pswp__item"></div>
<div class="pswp__item"></div>
</div>
<div class="pswp__ui pswp__ui--hidden">
<div class="pswp__top-bar">
<div class="pswp__counter"></div>
<button class="pswp__button pswp__button--close" title="Close (Esc)"></button>
<button class="pswp__button pswp__button--share" title="Share"></button>
<button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button>
<button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button>
<div class="pswp__preloader">
<div class="pswp__preloader__icn">
<div class="pswp__preloader__cut">
<div class="pswp__preloader__donut"></div>
</div>
</div>
</div>
</div>
<div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">
<div class="pswp__share-tooltip"></div>
</div>
<button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)"></button>
<button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)"></button>
<div class="pswp__caption">
<div class="pswp__caption__center"></div>
</div>
</div>
</div>
</div>
<footer class="container-fluid text-right">
{% if 'link' in remote_data %}
<p>The images in this gallery are hosted in a <a href="{{ remote_data['link'] }}">{{ remote_data['text'] }}</a></p>
{% endif %}
<p>Created by <a rel="noreferrer" href="https://www.haltakov.net/simple-photo-gallery">Simple Photo Gallery</a></p>
</footer>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<script src="js/photoswipe.min.js"></script>
<script src="js/photoswipe-ui-default.min.js"></script>
<script src="js/main.js"></script>
</body>
</html>