I'm trying to save multiple version of each file that is uploaded, each having been resized for responsive delivery on the front-end. Using a standard elfinder example (i.e. no Laravel) you can, following the Logging example (https://github.com/Studio-42/elFinder/wiki/Logging#using-class-instance-callback) achieve this by accessing a separate class and its methods.
However in the example the class is declared in the connector that resides in the vendor's folder and thus should not be modified.
The options array where the relevant custom class and method can be called is available in the elfinder.php config file. I've tried to reference the new class by adding the following to the $opts array:
Thanks for the great package!
I'm trying to save multiple version of each file that is uploaded, each having been resized for responsive delivery on the front-end. Using a standard elfinder example (i.e. no Laravel) you can, following the Logging example (https://github.com/Studio-42/elFinder/wiki/Logging#using-class-instance-callback) achieve this by accessing a separate class and its methods.
However in the example the class is declared in the
connector
that resides in the vendor's folder and thus should not be modified.The
options
array where the relevant custom class and method can be called is available in theelfinder.php
config file. I've tried to reference the new class by adding the following to the$opts
array:So far this is unsuccessful. I then thought a
ServiceProvider
might help in making the class available:But again, this has yielded anything. Is this possible to achieve?