Project

General

Profile

Bug #21200

Updated by Mathias Schreiber almost 10 years ago

When using IMAGE or IMG_RESOURCE with file = GIFBUILDER it results in warning <"GIFBUILDER" is not a file (uploads/.. resource).> in Admin Panel / Typoscript. 

 In tslib_content::getImgResource there is line 
 $theImage = $GLOBALS['TSFE']->tmpl->getFileName($file); 

 it does not make sense when $file == 'GIFBUILDER' it slows down parsing as we try to find out nonexistent file 'GIFBUILDER' 




 




 (issue imported from #M12142)

Back