[TYPO3-core] RFC #15192: Add hook to postprocess filelist operations
Xavier Perseguers
typo3 at perseguers.ch
Wed Jul 21 14:25:54 CEST 2010
Hi,
This is an SVN patch request.
Type: Feature
Bugtracker reference:
http://bugs.typo3.org/view.php?id=15192
Branches: trunk
Problem:
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
Additional information:
I uploaded in BT an sample class implementing this process. It should be
activated with this in ext_localconf.php:
$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';
Cheers
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 15192.diff
Type: text/x-diff
Size: 897 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100721/534d7c56/attachment.diff>
More information about the TYPO3-team-core
mailing list