xperseguers / t3ext-image_autoresize

TYPO3 Extension image_autoresize. Simplify the way your editors may upload their images.
https://extensions.typo3.org/extension/image_autoresize
GNU General Public License v3.0
16 stars 22 forks source link

Different place for image autoresize config file #94

Closed georgringer closed 9 months ago

georgringer commented 9 months ago

Environment::getPublicPath() . '/typo3conf/image_autoresize.config.php'; is not an ideal place as the directory doesn't even exist with TYPO3 v12 and using composer.

I suggest using the config directory or persist it in the $GLOBALS['TYPO3_CONF_VARS]`

xperseguers commented 9 months ago

I'd go for the config directory, that sounds like the best approach nowadays. Bloating up $GLOBALS['TYPO3_CONF_VARS'] is a no go as it's the hell to properly maintain with a versioning system and requires some knowledge unknown to many integrators.

georgringer commented 9 months ago

everything is better than the typo3conf :D