Allow uploading PNG files for object images (the PNGs shall be converted
to JPG)
This commit is contained in:
parent
f65ec3fe14
commit
1c1c4a8b1e
|
@ -28,7 +28,7 @@ final class MDRequirementsSet {
|
||||||
|
|
||||||
const MIMETYPES_USER_PROFILE_IMG = ['image/jpeg', 'image/jpg'];
|
const MIMETYPES_USER_PROFILE_IMG = ['image/jpeg', 'image/jpg'];
|
||||||
|
|
||||||
const MIMETYPES_OBJECT_IMAGE = ['image/jpeg', 'image/jpg'];
|
const MIMETYPES_OBJECT_IMAGE = ['image/jpeg', 'image/jpg', 'image/png'];
|
||||||
const MIMETYPES_OBJECT_PDF = ['application/pdf'];
|
const MIMETYPES_OBJECT_PDF = ['application/pdf'];
|
||||||
const MIMETYPES_OBJECT_PROVENANCE_REPORT = ['application/pdf'];
|
const MIMETYPES_OBJECT_PROVENANCE_REPORT = ['application/pdf'];
|
||||||
const MIMETYPES_OBJECT_RESTORATION_REPORT = ['application/pdf', 'image/jpeg', 'image/png'];
|
const MIMETYPES_OBJECT_RESTORATION_REPORT = ['application/pdf', 'image/jpeg', 'image/png'];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user