[FLOW3-general] File upload in FLOW3
"Christian Müller (Kitsunet)"
christian.mueller at typo3.org
Fri Dec 16 11:22:44 CET 2011
You need to activate the package. Either with the command line tool or
by adding it to Configuration/PackageStates.php. Or third way is to
delete the PackageStates.php, it will be recreated and all packages will
be active.
Cheers,
Christian
On 16/12/11 11:13, Thomas Plessis wrote:
> Thx Bastian, very helpful.
>
> But now, i've trouble to work with imagine package. It says that "Object "Imagine\Image\ImagineInterface" is not registered." I've upload "Imagine" package folder into "Packages\Framework\" folder. Is that right? What i am supposed to do next?
>
> regards,
>
> Thomas Plessis
> Développeur multimédia
> --
> TOTEMnumerique
> 9, Place St Étienne
> 31000 Toulouse
> T. 05 61 14 64 54
> F. 05 61 14 64 55
>
> Le 15 déc. 2011 à 16:18, Bastian Waidelich a écrit :
>
>> Thomas Plessis wrote:
>>
>> hi Thomas,
>>
>>> No ideas? I'm looking to find a way to restrict file uploading to JPG or PNG files. :/
>>
>> Have a look at the Media package [1].
>> If you map the file to an Image model, you should be able to apply validation rules to it.
>> Re resizing check out the getThumbnail() method of the Image model. It uses the ImageService to create a so called ImageVariant using the "Imaginge" package [2].
>>
>> HTH
>> Bastian
>>
>>
>> [1] http://git.typo3.org/FLOW3/Packages/TYPO3.Media.git
>> [2] http://git.typo3.org/FLOW3/Packages/Imagine.git
>> _______________________________________________
>> FLOW3-general mailing list
>> FLOW3-general at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general
>
More information about the FLOW3-general
mailing list