Feature #23244
closedAdd hook to postprocess filelist operations
0%
Description
A hook is missing to allow postprocessing of filelist operations.
Typical use-case:
- Allow editors to upload any picture (e.g., 10 Mpixels) as they don't know how to resize the pictures or do not have the software (cybercafe during holidays)
- Prevent fileadmin to be overflooded with huge pictures which will never be used in their original size
=> Automatically resize "huge" pictures after the upload
Attached is an example class implementing this process. It should be activated with:
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_extfilefunc.php']['processDataAction'][] = 'EXT:your_ext/class.user_t3lib_extfilefunc_hook.php:user_t3lib_extfilefunc_hook';
(issue imported from #M15192)
Files
Updated by Xavier Perseguers over 14 years ago
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_extfilefunc.php']['processData'][] = 'EXT:your_ext/class.user_t3lib_extfilefunc_hook.php:user_t3lib_extfilefunc_hook';