Skip to content

Commit

Permalink
fix gallery images
Browse files Browse the repository at this point in the history
  • Loading branch information
lluisd committed May 13, 2024
1 parent a2eab4d commit fa83487
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions views/pages/gallery.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,17 @@

<div id="lightgallery">
<% spots.forEach(function(spot) { %>
<a href="<%= url + '/i/' + spot.screenshot %>" data-sub-html="<%= spot.number + ' - ' + spot.description %>">
<img src="<%= url + '/i/' + spot.screenshot %>" target="_blank">
<a href="<%= url + '/i/' + spot.screenshot %>" data-sub-html="<%= spot.number + ' - ' + spot.description %>" data-lg-size="1340-754">
<img src="<%= url + '/i/' + spot.screenshot %>" alt="<%= spot.description %>>">
</a>
<% }); %>
</div>
<script type="text/javascript">
lightGallery(document.getElementById('lightgallery'), {
plugins: [lgZoom, lgThumbnail],
animateThumb: false,
zoomFromOrigin: false,
thumbnail: true
// ... other settings
});
</script>
</body>
Expand Down

0 comments on commit fa83487

Please sign in to comment.