Developer Manual

This chapter describes some internals of the Resize Images Automatically extension to let you extend it easily.

PSR-14 Events

The concept of PSR-14 events allows for easy implementation of the Observer pattern in software, something similar to signal and slots or hooks in former versions of TYPO3. Please read chapter Event dispatcher (PSR-14 events) from TYPO3 Core documentation.

Available events:

ImageResizedEvent

Event raised after an image has been resized.

ProcessDefaultConfigurationEvent

Event raised whenever the default configuration file config/image_autoresize.config.php does not exist, thus loading the default configuration for this extension. This event is typically useful if you want to provide other (better) default values for the configuration.

ProcessConfigurationEvent

Event raised after the configuration has been processed, allowing to alter it based on your own business logic.