diff options
Diffstat (limited to 'design')
-rw-r--r-- | design/templates/details/photo_gallery.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/design/templates/details/photo_gallery.html b/design/templates/details/photo_gallery.html index 40f2e65..5b69edd 100644 --- a/design/templates/details/photo_gallery.html +++ b/design/templates/details/photo_gallery.html @@ -31,7 +31,7 @@ <a href="{% get_image_by_size photo "original" %}"> <img sizes="(max-width: 1170px) 100vw" srcset="{% for size in photo.sizes.all %}{%spaceless%} - {% get_image_by_size photo size.width %} {{size.width}}{% if forloop.last%}"{%else%}, {%endif%}{%endspaceless%}{%endfor%} + {% get_image_by_size photo size.width %} {{size.width}}w{% 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}}"> |