[Flow] Extract image EXIF data for resource objects and resize image on upload

Bastian Waidelich bastian at typo3.org
Wed Jul 24 10:51:13 CEST 2013


Jan Greth wrote:

Hi Jan,

> 2nd: Does someone of you have an indea of how to implement a "resize
> image on upload" function? I think when the Users upload 20MP Photos the
> Resource Objects will become quite big (which i want to avoid) - and I
> would need a huge Space for all the Images (which i want to avoid also).
> So my thought is shrinking all Images to - lets say 1024x768 for example...

If you didn't do it yet, you should have a look at the TYPO3.Media 
package on git.typo3.org[1]. It uses Imagine[2] to transform images and 
provides validators for image size, type and orientation

[1] https://git.typo3.org/Packages/TYPO3.Media.git
[2] https://packagist.org/packages/imagine/Imagine

-- 
Bastian Waidelich
--
Core Developer Team

TYPO3 .... inspiring people to share!
Get involved: typo3.org


More information about the Flow mailing list