Skip to content

Commit

Permalink
Fix thumbnail croping
Browse files Browse the repository at this point in the history
  • Loading branch information
qb-dornak committed Jun 9, 2024
1 parent 61e462b commit b62d62f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tjrytmus/templates/djangocms_file/jumbotron/folder.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<div class="carousel-inner" role="listbox">
{% for image in folder_files %}
<div class="item{% if forloop.first %} active{% endif %}">
<img src="{% thumbnail image.file 1920x330 crop='True' upscale='True' %}" width="100%"/>
<img src="{% thumbnail image.file 1920x330 crop upscale subject_location=image.subject_location %}" width="100%"/>
</div>
{% endfor %}
</div>
Expand Down

0 comments on commit b62d62f

Please sign in to comment.