[TYPO3-core] FYI72 #15221: Add hook to postprocess upload of a file

Xavier Perseguers typo3 at perseguers.ch
Sat Jul 24 11:45:24 CEST 2010


Hi,

The following patch will be committed in 72h if nobody objects as it is 
fully related to RFC #15192 and is considered a follow-up of it in 
another part of the Core.

Type: Feature / follow-up of RFC #15192

Bugtracker reference:
http://bugs.typo3.org/view.php?id=15221

Branches: trunk

Problem:
A hook is missing to allow postprocessing of upload of files within a 
TCE form with a field of type "group_select_file" (e.g., pictures within 
the Media tab of a CE images or text w/ images).

Typical use-case identical to the one of RFC #15192

- 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 uploads/ to be overflooded with huge pictures which will never 
be used in their original size

=> Automatically resize "huge" pictures after the upload


Additional information:
Upcoming extension image_autoresize, available on Forge [1] already 
implements this. Best is to install it in order to see how this hook can 
be used.

Cheers

Xavier Perseguers

[1] http://forge.typo3.org/projects/show/extension-image_autoresize
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 15221.diff
Type: text/x-diff
Size: 4644 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100724/a8b4bcdc/attachment.diff>


More information about the TYPO3-team-core mailing list