Project

General

Profile

Bug #22556 » GetImgResourceCorrectFromPHPunit.patch

Administrator Admin, 2010-04-30 19:18

View differences:

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