Skip to main content

CircleCI

Wagtail Multi Image Edit

Wagtail Multi Image Edit offers a solution to editing and updating data fields for multiple images from one place.

multi image edit eg

multi image edit form

Installation

Wagtail Multi Image Edit has a pypi package and can be installed with:

pip install wagtail-multi-image-edit

After installing, add it to INSTALLED_APPS in your settings file

INSTALLED_APPS = [
    ...
    'wagtail_multi_image_edit',
]

Add the new url pattern and view import to urls.py:

from wagtail_multi_image_edit.views import multi_image_edit

urlpatterns = [
    url(r'^admin/images/multi-edit/', multi_image_edit, name='multi_image_edit'),

Add the needed templates by adding the following to your settings where TEMPLATES is defined:

TEMPLATES = [
    {
        'BACKEND': 'django.template.backends.django.DjangoTemplates',
        'APP_DIRS': True,
        'DIRS': [
            'wagtail_multi_image_edit/templates'
            ],
        ...

Finally, add which fields you want to be exposed by adding the following to your settings:

MULTI_IMAGE_EDIT_FIELDS = [
    'title',
    'collection',
    'tags',
]

Note

The plugin will override the core wagtail template wagtailimage/images/results so select boxes can be added. You may need to carry out extra template work if you are already customising this core template.

Thank you to...

@katestatton For the initial concept and direction.

@gasman For code guidance and form validation.

@noslouch For great JS feedback.

Release files for Wagtail-Multi-Image-Edit 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Wagtail-Multi-Image-Edit 0.0.5
File Size Uploaded
Wagtail Multi Image Edit-0.0.5.tar.gz 7.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Wagtail-Multi-Image-Edit 0.0.5
File Interpreter ABI Platform
Wagtail_Multi_Image_Edit-0.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 19.1 kB

Release files / Wagtail Multi Image Edit-0.0.5.tar.gz

Download URL Wagtail Multi Image Edit-0.0.5.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5bfc9636aeabb4c21237d77241eb1ed7907bc5b8ccbfed28415a04a64ddb04b5
BLAKE2b-256 checksum
How to use checksums
e3b7aecd4cb3ca17f7d45bb860d63788b0afaf8cb0caa1c45afc3d9107a88195
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.19.1 CPython/3.7.1

Release files / Wagtail_Multi_Image_Edit-0.0.5-py3-none-any.whl

Download URL Wagtail_Multi_Image_Edit-0.0.5-py3-none-any.whl
Size 11.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6c7c7b2a4757115059b2949c01a3b4d7afc96424135f3ec41b099711b47e53a4
BLAKE2b-256 checksum
How to use checksums
6087c56fb1fe53cea2872b50ae56f3bc8373ac57b378e5626d738e0540efa74e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.19.1 CPython/3.7.1

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 release files

0.0.4

2 release files

0.0.3

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page