Issue Bug Closed

#21200GIFBUILDER triggers warning <"GIFBUILDER" is not a file (uploads/.. resource).> in admin panel

Vladimir Podkovanov 10/07/09, 16:06 updated 04/30/15, 11:19

Description

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.