- Enhancement: Upgraded subset-iconfont dependency and optimized icon font css (#38).
- Fixes: removed edit button for image mimetypes (
gif
,tiff
) in UI (#36). - Refactor: continue replacing
%{% templatetag closebrace %}
to{% templatetag closeblock %}
in templates (#37).
- Fixes: fixed rendering when using Bootstrap 4 and 5 (#31).
- Enhancements: optimized crop model on small screens (#32).
- Breaking changes: template blocks renaming (#34).
-
Added required method :meth:`create_instance_from_form` in
ImageCreateView
when customizingtarget_model
.Added required method :meth:`create_cropped_instance_from_form` in
ImageCropView
when customizingtarget_model
.Allowed customize image URL via :meth:`get_image_url` in
target_model
.Allowed customize image Crop URL via :meth:`get_crop_url` in
target_model
.Allowed customize image object serialization by :meth:`serialize_extra` in
target_model
.Bundled most static assets (except
Bootstrap
andjQuery
) intogalleryfield-ui.js
, thus we no longer need to do extra configurations serving those static files locally.- Added option
bootstrap_version
inDJANGO_GALLERY_FIELD_CONFIG
, defaults to3
. - Removed all items in
DJANGO_GALLERY_FIELD_CONFIG["assets"]
exceptextra_js
andextra_css
. - Added new options
jquery
,bootstrap_css
andbootstrap_js
toDJANGO_GALLERY_FIELD_CONFIG["assets"]
, with CDN URL of those assets as default values.
- Added option
Dropped
jQuery-UI
in favor ofSortableJS
for sorting uploaded images. Addedjquery_file_upload_ui_sortable_options
inDJANGO_GALLERY_FIELD_CONFIG
.Allowed use
Bootstrap
4 and 5 via settings configurations.
- Refactor: used rollup.js to manage static assets. (#24)
- Fixes: fixed
get_image_url
inBaseImageModelMixin
. (#21)
- Fixes: fixed
upload_template
anddownload_template
override after widget initialization. (#20)
- Features: added
JS_DOWNLOAD_TEMPLATE_NAME
block. (#19)
- Features: allowed override
image_url
andcrop_url
when serializing image objects. Allow overrideupload_template
anddownload_template
. (#16) - Fixes: fixed upload UI checkbox of items. (#18)
- Features: changed image handling view URL naming rule to include
app_label
prefix. (#11) - Features: changed getting cookie name via Django settings
CSRF_COOKIE_NAME
. (#14)
- Breaking changes: renamed project from
django-gallery-widget
todjango-galleryfield
.
- Fixes: removed default
target_model
inListView
(BaseListViewMixin
).
Initial release.