diff --git a/prosopopee/templates/index.html b/prosopopee/templates/index.html index 4869b10..b866c4b 100644 --- a/prosopopee/templates/index.html +++ b/prosopopee/templates/index.html @@ -31,7 +31,9 @@ {% if gallery.date %}{% endif %} - + {% set cover = Image(gallery.cover) %} + {{ cover.copy() }} + {% endfor %} diff --git a/prosopopee/templates/sections/bordered-picture.html b/prosopopee/templates/sections/bordered-picture.html index 6c7ee0c..294c454 100644 --- a/prosopopee/templates/sections/bordered-picture.html +++ b/prosopopee/templates/sections/bordered-picture.html @@ -1,6 +1,7 @@ -{{ helpers.copy_image(section.image) }} +{% set image = Image(section.image) %} +{{ image.copy()}}
- - + +
diff --git a/prosopopee/templates/sections/full-picture.html b/prosopopee/templates/sections/full-picture.html index 79c3e9d..48eb774 100644 --- a/prosopopee/templates/sections/full-picture.html +++ b/prosopopee/templates/sections/full-picture.html @@ -1,5 +1,6 @@ -{{ helpers.copy_image(section.image) }} -
+{% set image = Image(section.image) %} +{{ image.copy() }} +
{% if section.text %}
diff --git a/prosopopee/templates/sections/panorama.html b/prosopopee/templates/sections/panorama.html index 3d260a3..a9e2767 100644 --- a/prosopopee/templates/sections/panorama.html +++ b/prosopopee/templates/sections/panorama.html @@ -1,4 +1,5 @@ -{{ helpers.copy_image(section.image) }} +{% set image = Image(section.image) %} +{{ image.copy() }}
- +
diff --git a/prosopopee/templates/sections/pictures-group.html b/prosopopee/templates/sections/pictures-group.html index acbe708..bc9a282 100644 --- a/prosopopee/templates/sections/pictures-group.html +++ b/prosopopee/templates/sections/pictures-group.html @@ -2,10 +2,11 @@ {% for line in section.images %}
{% for image in line %} - {{ helpers.copy_image(image) }} + {% set image = Image(image) %} + {{ image.copy() }} {% if not loop.last %}