[TYPO3-dev] A problem using image manipulation in my own class file

Tapio Markula tapio.markula at xetpoint.fi
Wed Nov 19 09:11:35 CET 2008


Hi


I have


require_once ( $t3lib_PATH . 'class.t3lib_stdgraphic.php' );
class returnContent extends t3lib_stdGraphic {
	function main() {

...

}
$content=returnContent::main();
				$imgFile=t3lib_stdGraphic::imageMagickConvert($image,'jpg','270');

Fatal error: Using $this when not in object context in 
/home/tapio/public_html/typo3_4.2.0dev/t3lib/class.t3lib_stdgraphic.php 
on line 2130

if

$imgFile=$this->imageMagickConvert($image,'jpg','270');

Fatal error: Using $this when not in object context in 
/home/tapio/public_html/fileadmin/ext-templates/myincludes.inc on line 50

I just not figure this.A




More information about the TYPO3-dev mailing list