christophlehmann/imageoptimizer

[FEATURE] Implement interface for external services

christophlehmann opened this issue · 0 comments

For example https://tinypng.com/

  • Add OptimizeImageInterface with process() function
  • Use interface in OptimizeImageService
  • Add service registration
  • Register OptimizeImageService in service registration like

$GLOBALS['TYPO3_CONF_VARS']['EXT']['ImageOptimizer']['Services'][] = 'Lemming\Imageoptimizer\ OptimizeImageService';