diff --git a/site/content/post/gallery1.md b/site/content/post/gallery1.md
new file mode 100644
index 0000000..a060f59
--- /dev/null
+++ b/site/content/post/gallery1.md
@@ -0,0 +1,7 @@
+---
+date: 2019-02-13 20:00:00
+tags: ["photos"]
+title: "Galerie d'exemple"
+---
+
+{{< gallery dir="/images/gallery1" >}}
diff --git a/site/layouts/shortcodes/gallery.html b/site/layouts/shortcodes/gallery.html
new file mode 100644
index 0000000..75c8353
--- /dev/null
+++ b/site/layouts/shortcodes/gallery.html
@@ -0,0 +1,28 @@
+{{ $baseURL := .Site.BaseURL }}
+
+ {{- with (.Get "dir") -}}
+
+ {{- $files := readDir (print "/static/" .) }}
+ {{- range $files -}}
+
+ {{- $thumbext := $.Get "thumb" | default "-thumb" }}
+ {{- $isthumb := .Name | findRE ($thumbext | printf "%s\\.") }}
+ {{- $isimg := lower .Name | findRE "\\.(gif|jpg|jpeg|tiff|png|bmp)" }}
+ {{- if and $isimg (not $isthumb) }}
+ {{- $caption := .Name | replaceRE "\\..*" "" | humanize }}
+ {{- $linkURL := print $baseURL ($.Get "dir") "/" .Name | absURL }}
+ {{- $thumb := .Name | replaceRE "(\\.)" ($thumbext | printf "%s.") }}
+ {{- $thumbexists := where $files "Name" $thumb }}
+ {{- $thumbURL := print $baseURL ($.Get "dir") "/" $thumb | absURL }}
+
+
+
+

+
+
+
+
+ {{- end }}
+ {{- end }}
+ {{- end }}
+
diff --git a/site/static/images/gallery1/banner.jpg b/site/static/images/gallery1/banner.jpg
new file mode 100644
index 0000000..96c696e
Binary files /dev/null and b/site/static/images/gallery1/banner.jpg differ
diff --git a/site/static/images/gallery1/banner2.jpg b/site/static/images/gallery1/banner2.jpg
new file mode 100644
index 0000000..2b3d830
Binary files /dev/null and b/site/static/images/gallery1/banner2.jpg differ
diff --git a/site/static/images/gallery1/banner3.jpg b/site/static/images/gallery1/banner3.jpg
new file mode 100644
index 0000000..a51091a
Binary files /dev/null and b/site/static/images/gallery1/banner3.jpg differ
diff --git a/site/static/images/gallery1/banner4.jpg b/site/static/images/gallery1/banner4.jpg
new file mode 100644
index 0000000..961cb7d
Binary files /dev/null and b/site/static/images/gallery1/banner4.jpg differ