Actions
Feature #23244
closedAdd hook to postprocess filelist operations
Start date:
2010-07-21
Due date:
% Done:
0%
Estimated time:
PHP Version:
5.2
Tags:
Complexity:
Sprint Focus:
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
Actions