system.resizer.getAvailableSources
Provides an opportunity to modify the sources available for processing resize requests from
Example usage:
Event::listen('system.resizer.getAvailableSources', function ((array) &$sources)) { $sources['custom'] = [ 'disk' => 'custom', 'folder' => 'relative/path/on/disk', 'path' => 'publicly/accessible/path', ]; });
Usage
Triggers
Class or file | Line |
---|---|
System\Classes\ImageResizer
|
192 |
Copyright © 2024 Winter CMS