Not shure what I’m doing wrong (or if this is a bug), but I can’t get pngquant and gifsicle to work. Whenever the widget tries to optimize a .png file, an error like this pops up:
Thumbnail creation for "content/1-blog/07092017-agbic/xf19ne.png" failed. Please ensure, that the thumbs directory is writable and your driver configuration is correct.
The thumbs directory and binaries should have the correct permission (755), I’ve also tried to use the pngquant-linux binary from EWWW-Image-Optimizer and one I’ve compiled myself, with no difference. Disabling pngquant also causes some problems, resulting in the following error after a few successful jpeg optimizations using mozjpeg:
Call to a member function image() on boolean in file: /var/www/virtual/username/html/site/plugins/imagekit/lib/lazythumb.php on line: 143
My config.php looks like this:
Any help would be greatly appreciated, as I have no clue how I could fix this.