Skip to content

Commit

Permalink
sardegna
Browse files Browse the repository at this point in the history
  • Loading branch information
gianpaolof committed Aug 2, 2024
1 parent ba07a32 commit 44fce81
Show file tree
Hide file tree
Showing 5 changed files with 92 additions and 0 deletions.
Binary file added gallery/albums/alb14.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/g14/sa1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
89 changes: 89 additions & 0 deletions gallery/gallery14/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
---
layout: page
title: "Sardegna"
active: gallery
header-img: "img/gallery14-bg.jpg"
images:
- image_path: /gallery/archive/g14/sa1.jpg
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/alb14.jpg
gallery-folder: /gallery/gallery14/
gallery-name: Sardegna
- image_path: /gallery/albums/alb12.jpg
gallery-folder: /gallery/gallery12/
gallery-name: Napoli I
Expand Down
Binary file added img/gallery14-bg.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 44fce81

Please sign in to comment.