diff --git a/prosopopee/themes/exposure/templates/sections/polaroid-group.html b/prosopopee/themes/exposure/templates/sections/polaroid-group.html index 5ce2e37..a98a647 100644 --- a/prosopopee/themes/exposure/templates/sections/polaroid-group.html +++ b/prosopopee/themes/exposure/templates/sections/polaroid-group.html @@ -2,7 +2,7 @@
{% endif %}
-
+
{% for image in section.images %} {% set caption = image.text %} {% set custpos = false %} @@ -15,23 +15,32 @@ {% set angle = -15 %} {% endif %} {% endif %} + {% if image.x %} {% set x = image.x %} {% set custpos = true %} {% else %} {% set x = "0px" %} {% endif %} + {% if image.y %} {% set y = image.y %} {% set custpos = true %} {% else %} {% set y = "0px" %} {% endif %} + {% if image.z %} {% set z = image.z %} {% else %} {% set z = loop.index %} {% endif %} + + {% if image.w %} + {% set w = image.w %} + {% else %} + {% endif %} + {% set image = Image(image) %} {{ image.copy() }} {% set ratio = image.ratio %}