[TYPO3-dev] Caching Images for an Extentions

Oliver Krammer liste at 123fertig.com
Wed Nov 28 11:59:36 CET 2007


Many Thanx !!!!!
That was the right hint!

I used it like this:

 $file = 'uploads/pics/'.$value;
            // thumbnails
            $imgTSConfig = Array();
            $imgTSConfig['file'] = $file;
            $imgTSConfig['file.']['maxW'] =300;
            $imgTSConfig['file.']['maxH'] = 300;
           $info= $this->cObj->getImgResource($file,$imgTSConfig['file.']);
            // Print out only the image link;
           $data=$info[3];

Greetinx
Oliver




More information about the TYPO3-dev mailing list