Skip to content
This repository has been archived by the owner on Oct 29, 2019. It is now read-only.

Fix use_original_image #137

Merged
merged 1 commit into from
Mar 7, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Example: {% for device, src in instance.srcset.items %}
{% endcomment %}<img
{% if instance.use_original_image %}
src="{{ xwinstance.file.url }}"
src="{{ instance.file.url }}"
{% else %}
{% with main_src=instance.srcset.lg %}
{% thumbnail instance.file main_src.size crop=main_src.crop upscale=main_src.upscale subject_location=main_src.subject_location as main_thumb %}
Expand Down Expand Up @@ -42,4 +42,4 @@
{% endfor %}"
{% endif %}
{{ instance.attributes_str }}
>{# include "admin/aldryn_bootstrap3/widgets/dragndrop.html" #}
>{# include "admin/aldryn_bootstrap3/widgets/dragndrop.html" #}