[TYPO3-dev] how to call image function (imagemagick) from extension php

Andrew Davis andrew at theandrewunderground.com
Wed Mar 14 15:37:37 CET 2007


Thanks! sorry will post in english list for this in future!
Andrew Davis


Mathias Schreiber [TYPO3] wrote:
> Andrew Davis schrieb:
>> ? Any suggestions where to look?
> 
> Jup, in the english mailing list.
> This list of about developing TYPO3, not developing UTILIZING TYPO3.
> 
>> Any help much apreciated.
> 
> The code line you are looking for is this:
> $myImage = $this->cObj->cObjGetSingle('IMAGE',$imgConf);
> 
> $imgConf is a PHP array that looks like Typoscript.
> $imgConf['file'] = 'fileadmin/tsbyex/alligator.jpg';
> $imgConf['file.']['width'] = 200;
> 
> Notice the . after the array key "file" in line 2.
> 
> peace
> Mattes




More information about the TYPO3-dev mailing list