Extend MDRequirementsSet with max file size allowed for PDFs
This commit is contained in:
parent
9c80957709
commit
9ddb461491
|
@ -23,6 +23,8 @@ final class MDRequirementsSet {
|
|||
// Object images need to be at least 500 px wide
|
||||
const MIN_OBJECT_IMAGE_HEIGHT = 540;
|
||||
|
||||
const MAX_FILESIZE_PDF = 20000000;
|
||||
|
||||
const TIME_EARLIEST_YEAR = -6000000000;
|
||||
const TIME_EARLIEST_DATE = '0001-01-01';
|
||||
const TIME_LATEST_YEAR = 2099;
|
||||
|
@ -37,6 +39,8 @@ final class MDRequirementsSet {
|
|||
const MIMETYPES_OBJECT_RESTORATION_REPORT = ['application/pdf', 'image/jpeg', 'image/png'];
|
||||
const MIMETYPES_OBJECT_CONDITION_REPORT = ['application/pdf', 'image/jpeg', 'image/png'];
|
||||
|
||||
const MIMETYPES_OBJECT_DOCUMENT = ['image/jpeg', 'image/jpg', 'application/pdf'];
|
||||
|
||||
const MIMETYPES_COLLECTION_IMAGE = ['image/jpeg', 'image/jpg'];
|
||||
const MIMETYPES_INSTITUTION_IMAGE = ['image/jpeg', 'image/jpg'];
|
||||
const MIMETYPES_EXHIBITION_IMAGE = ['image/jpeg', 'image/jpg'];
|
||||
|
|
Loading…
Reference in New Issue
Block a user