1
0
Fork 0
mirror of https://github.com/alangrainger/immich-public-proxy.git synced 2025-01-17 05:16:45 +01:00
immich-public-proxy/views/gallery.ejs
2024-10-28 20:47:14 +01:00

27 lines
763 B
Text

<!DOCTYPE html>
<html lang="en">
<head>
<title>Gallery</title>
<link type="text/css" rel="stylesheet" href="/style.css"/>
<link type="text/css" rel="stylesheet" href="/lightgallery-bundle.min.css"/>
</head>
<body>
<div id="lightgallery">
<% photos.forEach(photo => { %>
<a href="<%- photo.originalUrl %>">
<img alt="" src="<%- photo.thumbnailUrl %>" />
</a>
<% }) %>
</div>
<script src="/lightgallery.min.js"></script>
<script src="/lg-thumbnail.min.js"></script>
<script src="/lg-zoom.min.js"></script>
<script type="text/javascript">
lightGallery(document.getElementById('lightgallery'), {
plugins: [lgZoom, lgThumbnail],
licenseKey: '0000-0000-000-0000',
speed: 500
});
</script>
</body>
</html>