I've got a django-cms plugin with a image field and I've noticed that the size of the images I upload using this plugins is bigger than the originals one. This can't happen, do you have any idea what could be causing this? Could it be some kind of configuration?
The definition of the field in the models.py
:
image = models.ImageField(db_column='IMAGE', verbose_name=_(u'Image (1280x600)'), upload_to='Destaques')
This is a snippet of the template where I render the image: {% load cms_tags staticfiles i18n %} {% load thumbnail %}
{% thumbnail instance.imagem '1660' as im %}
<div class="item" id="item_{{ instance.id }}" style="background: url('{{ im.url }}') no-repeat center / cover;">
Could it be because of the thumbnail generation?
Thank you :)
{% endthumbnail %}