diff options
author | luxagraf <sng@luxagraf.net> | 2016-03-21 20:34:28 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2016-03-21 20:34:28 -0400 |
commit | 315a0e5a1f2d964e6daa71455995d35e3ac53931 (patch) | |
tree | c084204417af84ed6a8a3f55f5fa0e3a04f4a3c8 | |
parent | c6349390d5a287361b7c5165c2b678f2a0d5d89a (diff) |
fixed bug in template
-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}}"> |