diff options
author | luxagraf <sng@luxagraf.net> | 2016-03-21 20:32:54 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2016-03-21 20:32:54 -0400 |
commit | c6349390d5a287361b7c5165c2b678f2a0d5d89a (patch) | |
tree | 6d5102377a150d248d642996d9fe2e115a54412b /design/templates/details/photo_gallery.html | |
parent | d59f8c3b264ec439a0222c61c67c2716453ac756 (diff) |
changed gallery image sizes rule to 1170
Diffstat (limited to 'design/templates/details/photo_gallery.html')
-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 cdfbf9e..40f2e65 100644 --- a/design/templates/details/photo_gallery.html +++ b/design/templates/details/photo_gallery.html @@ -29,7 +29,7 @@ <h6><a href="#image-{{forloop.counter}}" class="permalink" title="link to this image">∞ {{forloop.counter|number_to_word}} ∞</a></h6> <figure class="fig"> <a href="{% get_image_by_size photo "original" %}"> - <img sizes="(max-width: 1140px) 100vw" + <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%} {% 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> |