Merge pull request #72 from creimers/develop
use full_image_options in post_detail.html template
This commit is contained in:
commit
acefa5fbb9
1 changed files with 1 additions and 1 deletions
|
@ -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 %}
|
||||||
|
|
Loading…
Reference in a new issue