summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--design/templates/details/photo_gallery.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/design/templates/details/photo_gallery.html b/design/templates/details/photo_gallery.html
index 7e9af15..cdfbf9e 100644
--- a/design/templates/details/photo_gallery.html
+++ b/design/templates/details/photo_gallery.html
@@ -31,8 +31,8 @@
<a href="{% get_image_by_size photo "original" %}">
<img sizes="(max-width: 1140px) 100vw"
srcset="{% for size in photo.sizes.all %}{%spaceless%}
- {% get_image_by_size photo size.width %} {{size.width}}{% if forloop.last%},"{%else%},{%endif%}
- {% if size.width > 680 and size.width < 2000 %}src="{% get_image_by_size photo size.width %}"{%endif%}{%endspaceless%}{%endfor%} alt="{% if photo.alt %}{{photo.alt}}{%else%}{{photo.title}}{%endif%}" {%if photo.is_portait %}class="v"{%endif%} ></a>
+ {% get_image_by_size photo size.width %} {{size.width}}{% if forloop.last%}"{%else%}, {%endif%}{%endspaceless%}{%endfor%}
+ {% for size in photo.sizes.all %}{%spaceless%}{% if size.width > 720 and size.width < 2000 %}src="{% get_image_by_size photo size.width %}"{%endif%}{%endspaceless%}{%endfor%} alt="{% if photo.alt %}{{photo.alt}}{%else%}{{photo.title}}{%endif%}" {%if photo.is_portait %}class="v"{%endif%} ></a>
<figcaption class="figcaption">
<div class="caption" id="id-{{photo.id}}">
<h3 class="figcaption--title">{{photo.title}}</h3>