Skip to content

Commit

Permalink
napule
Browse files Browse the repository at this point in the history
  • Loading branch information
gianpaolof committed Dec 26, 2023
1 parent ae1d4d5 commit d1e8c84
Show file tree
Hide file tree
Showing 5 changed files with 98 additions and 0 deletions.
Binary file added gallery/albums/alb12.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gallery/archive/g12/na1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gallery/archive/g12/na2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
95 changes: 95 additions & 0 deletions gallery/gallery12/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
---
layout: page
title: "Napoli I"
#description: "masonry"
active: gallery
header-img: "img/gallery12-bg.jpg"
#album-title: "my 9th album"
images:
- image_path: /gallery/archive/g12/na1.jpg
copyright: © Gianpaolo Filippa
- image_path: /gallery/archive/g12/na2.jpg
caption: Santa Chiara
copyright: © Gianpaolo Filippa

---

<html class="no-js" lang="en">
<head>
<meta content="charset=utf-8">
</head>

<body>

<section id="content" role="main">
<div class="wrapper">
<br><br>
<h2>{{page.album-title}}</h2>


<!-- Gallery __-->
<div class="gallery masonry-gallery">

{% for image in page.images %}

<figure class="gallery-item">
<header class='gallery-icon'>

<a href="{{ site.url }}{{ site.baseurl }}{{ image.image_path }}" class="popup" title="{{ image.caption }}" data-caption="{{ image.copyright }}">
<img src="{{ site.url }}{{ site.baseurl }}{{ image.image_path }}"></a>

</header>
<figcaption class='gallery-caption'>
<div class="entry-summary">
<h3>{{image.caption}}</h3>
<p>{{image.copyright}}</p>
</div>
</figcaption>
</figure>

{% endfor %}

</div>

</div><!-- END .wrapper -->
</section>

<!-- jQuery -->

<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<!-- include image popups -->
<script src="{{ site.baseurl }}/js/jquery.magnific-popup.js"></script>
<script src="{{ site.baseurl }}/js/retina.min.js"></script>
<!-- include Masonry -->
<script src="{{ site.baseurl }}/js/isotope.pkgd.min.js"></script>
<!-- include mousewheel plugins -->
<script src="{{ site.baseurl }}/js/jquery.mousewheel.min.js"></script>
<!-- include carousel plugins -->
<script src="{{ site.baseurl}}/js/jquery.tinycarousel.min.js"></script>
<!-- include svg line drawing plugin -->
<script src="{{ site.baseurl }}/js/jquery.lazylinepainter.min.js"></script>
<!-- include custom script -->
<script src="{{ site.baseurl }}/js/scripts.js"></script>
<!-- Modernizr -->
<script src="{{ site.baseurl }}/js/modernizr.js"></script>

<script type="text/javascript">
$(document).ready(function($) {
$('a.popup').magnificPopup({
type: 'image',
gallery:{
enabled:true,
navigateByImgClick: true,
preload: [0,1] // Will preload 0 - before current, and 1 after the current image
},
image: {
titleSrc: function(item) {
return item.el.attr('title') + '&nbsp;' + item.el.attr('data-caption');
}
}
// other options
});
});
</script>

</body></html>
3 changes: 3 additions & 0 deletions gallery/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
- image_path: /gallery/albums/alb07.jpg
gallery-folder: /gallery/gallery07/
gallery-name: Siclia
- image_path: /gallery/albums/alb12.jpg
gallery-folder: /gallery/gallery12/
gallery-name: On ice
- image_path: /gallery/albums/alb08.jpg
gallery-folder: /gallery/gallery08/
gallery-name: Sea
Expand Down

0 comments on commit d1e8c84

Please sign in to comment.