[TYPO3-english] Image processing from typo3temp/ folder

Jan Bednarik info at bednarik.org
Sun Nov 10 21:13:17 CET 2013


Hi,

> But my problem is, I need to load images from typo3temp folder.
> > When using <f:img> in fluid template, its rendered from typo3temp folder. But when I use <img> tag its not from there.
> This is a pibase extension and we can't use <f:img>.

if it's PI extension, then you should use cObj:

$imconf = 
Array('file'=>'fileadmin/images/whatever.jpg','file.'=>Array('maxW'=>100));
$imcode = $this->cObj->IMAGE($imconf);
echo $imcode; // <img src="typo3temp/...">

Jan



More information about the TYPO3-english mailing list