- Updated release workflows
- Added support for Django 3.2, 4.0, 4.1, and 4.2
- Added support for Django CMS 3.11
- Added support for Python 3.11
- Dropped support for Django <= 3.1
- Dropped support for Python 3.7
- Apply
{% localize off %}
on<img>
element - Dropped support for django 3.0
- Dropped support for python 3.5 and 3.6
- Added support for django 3.2
- Added support for python 3.9 and 3.10
- Fixed issue which caused wrong size calculations
- Added support for Django 3.1
- Dropped support for Python 2.7 and Python 3.4
- Dropped support for Django < 2.2
- Fixed an issue with external images where internal or external links were not taken into account
- Added support for Django 3.0
- Pinned
django-filer
to 1.5.0 - Added further tests to raise coverage
- Fixed smaller issues found during testing
- Dropped support for django-filer <= 1.4
- Fixed alt attribute not rendering correctly
- Fixes an issue where
get_link
doesn't return external picture - Fixes
img_srcset_data
being processed on an external picture - Added tests for the plugin itself
- Updated translations
- Fixed a regression where external images are not shown anymore
- Added support for Django 2.2 and django CMS 3.7
- Removed support for Django 2.0
- Fixed an issue when the image reference is lost
- Extended test matrix
- Added isort and adapted imports
- Adapted code base to align with other supported addons
- Added missing migration for Picture model
- Fixed an issue creating a validation error on the alt attribute
- Fixed an issue in the template adding a
}
after thesrcset
- Adapted test matrix for django CMS 3.4, 3.5, 3.6 as well as Django 1.11, 2.0 and 2.1
- Exclude
tests
folder from release build
- Added reference variables to migrations
- Fixed a text typo in models
- Removed support for Django 1.8, 1.9, 1.10
- Fixed an issue where default DJANGOCMS_PICTURE_RESPONSIVE_IMAGES was not in settings
- Add responsive image support
- Add support for Django 2.0 and 2.1
- Fix swappable filer image model support
- Fixed a misleading link to MDN inside code documentation
- Abstract the link model so it can be extended by other addons
- Fixed an issue in
DJANGOCMS_PICTURE_ALIGN
where "Align center" pointed to the wrong value - Updated translations
- Prevent changes to
DJANGOCMS_PICTURE_XXX
settings from requiring new migrations - Changed naming of
Aldryn
toDivio Cloud
- Adapted testing infrastructure (tox/travis) to incorporate django CMS 3.4 and dropped 3.2
- Fixed an issue when no image is set after deletion in django-filer (on_delete=SET_NULL)
- Updated translations
- Fixed an issue with
picture_link
not working as expected in the template - Fixed an issue where the alt text was not displayed appropriately
- Fixed an issue where placeholder params can be strings (#32)
- Fixed an issues with migrations where Null values caused
IntegrityError
- Fixes an issue where images throw an
AttributeError
- Backwards incompatible changes
- Added
DJANGOCMS_PICTURE_TEMPLATES
setting - Added
DJANGOCMS_PICTURE_NESTING
setting - Added
DJANGOCMS_PICTURE_ALIGN
setting - Added
DJANGOCMS_PICTURE_RATIO
setting - Moved template from
templates/cms/plugins/picture.html
totemplates/djangocms_picture/default/picture.html
- Renamed model field
url
tolink_url
andpage_link
tolink_page
- Migrate model field
image
toFilerImageField
and renamed topicture
- Migrated
alt
andlongdesc
data toFilerImageField
- Renamed model field
float
toalignment
- Removed Django < 1.8 support
- Added
- Added adaptions to
README.txt
- Updated translations
- Use this version for Django < 1.8 support