Merge pull request #72 from creimers/develop

use full_image_options in post_detail.html template
This commit is contained in:
Iacopo Spalletti 2015-01-26 10:04:28 +01:00
commit acefa5fbb9

View file

@ -38,7 +38,7 @@
</header> </header>
{% if post.main_image_id %} {% if post.main_image_id %}
<div class="blog-visual"> <div class="blog-visual">
{% thumbnail post.main_image post.thumbnail_options.size crop=post.thumbnail_options.crop upscale=post.thumbnail_options.upscale subject_location=post.main_image.subject_location as thumb %} {% thumbnail post.main_image post.full_image_options.size crop=post.full_image_options.crop upscale=post.full_image_options.upscale subject_location=post.main_image.subject_location as thumb %}
<img src="{{ thumb.url }}" alt="{{ post.main_image.default_alt_text }}" width="{{ thumb.width }}" height="{{ thumb.height }}" /> <img src="{{ thumb.url }}" alt="{{ post.main_image.default_alt_text }}" width="{{ thumb.width }}" height="{{ thumb.height }}" />
</div> </div>
{% endif %} {% endif %}