Skip to content
Peter Stokes edited this page Mar 8, 2018 · 1 revision

Bulk image upload is possible using the dpim command via manage.py (see further digipal/digipal/management/commands/dpim.py):

To upload your document images in the database:

  1. manually copy your original images somewhere under the ORIGINAL folder:
  2. copy the original images to the IMAGE STORE (image files managed by the image server) with this command: python manage.py dpim copy
  3. convert your images in the image store to the JPEG 2000 and upload them into the database: python manage.py dpim upload

You can then process the images using Bulk Edit in the Admin interface.

Image files can be processed selectively. Read the documentation in dpim.py for full details.

WARNING: please do not leave your original images in the IMAGE STORE, they might be deleted. Use the ORIGINAL folder instead (see above).

Clone this wiki locally