Bug #66614
Updated by Markus Klein over 9 years ago
h2. How to reproduce * set `config.noScaleUp = 0` in TS * add a magic image to RTE * preview the page in FE Result: Image broken h2. Root cause Setting config.noScaleUp causes this line to be executed in typo3/sysext/frontend/Classes/Page/PageGenerator.php:88 <pre> $GLOBALS['TYPO3_CONF_VARS']['GFX']['im_noScaleUp'] = isset($GLOBALS['TSFE']->config['config']['noScaleUp']) ? '' . $GLOBALS['TSFE']->config['config']['noScaleUp'] : $GLOBALS['TYPO3_CONF_VARS']['GFX']['im_noScaleUp']; </pre> This makes ['GFX']['im_noScaleUp'] a *string*, while in BE (when the preview image is generated in RTE) this is only loaded from install tool, where this is a *boolean* boolean value. This tiny difference has the effect effected, that the calculated checksums used to determine whether a processed file already exists mismatch and the already generated processed file is deleted from disk.