Jpegoptim
When working with Image optimisation script when asked to install jpegoptim
and optipng
, make sure your package managing tool installs latest version. Because you might run into problems, where permissions after file is optimized are being dropped.
To install latest version of jpegoptim
go to this page and download the latest source.
Then go to this page and follow installation instructions
zcat jpegoptim-1.4.4.tar.gz | tar xf -
cd jpegoptim-1.4.4
./configure
make
make strip
make install
Warning
If you have previously installed jpegoptim, you need to remove it, and check if version is the latest one after installing from source by calliing jpegoptim --help
. If not type which jpegoptim
to figure out the path to it, and symlink it to correct location.