Project

General

Profile

Bug #22556 » GetImgResourceCorrectFromPHPunit-v2.patch

Administrator Admin, 2010-05-03 10:19

View differences:

typo3/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;
}
(4-4/4)