approached / laravel-image-optimizer

[deprecated] Image optimizer for laravel
MIT License
152 stars 33 forks source link

Added namespace to the class name argument of singleton() method #5

Closed pablood85 closed 8 years ago

pablood85 commented 8 years ago

After some debugging I found out that the constructor of the class ImageOptimizer was never called. After adding the full class name I was able to pass the options to the class constructor.

Then I was able to compress jpgs by adding a -m60 option in the configuration file!