Skip to content

Commit

Permalink
moved config variable
Browse files Browse the repository at this point in the history
  • Loading branch information
BernhardKoschicek committed Oct 6, 2023
1 parent 6983934 commit 83f5938
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion config/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
NONE_DISPLAY_EXT = ['.tiff', '.tif']
ALLOWED_IMAGE_EXT = DISPLAY_FILE_EXTENSIONS + NONE_DISPLAY_EXT
PROCESSED_EXT = '.jpeg'
IIIF_IMAGE_EXT = ALLOWED_IMAGE_EXT + ['.pdf']

# For system checks
WRITABLE_PATHS = [
Expand Down
6 changes: 5 additions & 1 deletion config/iiif.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
from config.default import ALLOWED_IMAGE_EXT

IIIF = {
'activate': False,
'path': '',
'url': '',
'version': 2,
'conversion': True,
'compression': 'deflate' # 'deflate' or 'jpeg'
}
}

IIIF_IMAGE_EXT = ALLOWED_IMAGE_EXT + ['.pdf']

0 comments on commit 83f5938

Please sign in to comment.