Open ausi opened 3 years ago
If this gets implemented I'd like to add that I'd appreciate the addition of the postUpload
-Hook so our extension can take care of those uploads as well (see https://github.com/numero2/contao-proper-filenames/issues/5) 🙂
That should already be possible with the validateFormField
hook, is it not?
🤔 I guess you're right. Nonetheless I think adding that Hook in there would be more convenient.
Quick follow-up: While working it out with validateFormField
was possible it seems a bit cumbersone because we have to modify the session afterwards. So the implementation of the postUpload
-Hook somewhere around
would still be more convenient.
Maximum image width and height per upload field has been implemented in #3628. So now only the "Resize too large images instead of rejecting the upload" checkbox is missing.
It should be possible to set the maximum image width and height in the settings of every
FormFileUpload
as they may be different in every form.Also a checkbox for “Resize too large images instead of rejecting the upload” would be great.