Bug #22556 » GetImgResourceCorrectFromPHPunit.patch
sysext/cms/tslib/class.tslib_content.php (Arbeitskopie) | ||
---|---|---|
$gifCreator = t3lib_div::makeInstance('tslib_gifbuilder');
|
||
/* @var $gifCreator tslib_gifbuilder */
|
||
$gifCreator->init();
|
||
$info= $gifCreator->imageMagickConvert($theImage,'WEB','','','','','');
|
||
$info= $gifCreator->imageMagickConvert(PATH_site.$theImage,'WEB','','','','','');
|
||
$info[3] = $theImage;
|
||
$info['origFile'] = $theImage;
|
||
$info['origFile_mtime'] = @filemtime($theImage); // This is needed by tslib_gifbuilder, ln 100ff in order for the setup-array to create a unique filename hash.
|
||
$info['origFile_mtime'] = @filemtime(PATH_site.$theImage); // This is needed by tslib_gifbuilder, ln 100ff in order for the setup-array to create a unique filename hash.
|
||
$imageResource = $info;
|
||
}
|
||