Image Optimisation Can Anyone Recommend

A good image optimiser that will optimise thumbnail or whatever directories, and keep the tree structure to upload back

Thanks

JOhn

A good image optimiser that will optimise thumbnail or whatever directories, and keep the tree structure to upload back

Thanks

JOhn

Here is on of the scripts we have saved for that (strips EXIF data from JPG and optmizes them - Lossy). If you want I can also send you the one for PNG.

cd /tmp
wget https://github.com/mozilla/mozjpeg/archive/v3.3.1.tar.gz -O mozjpeg.tar.gz
tar -xf mozjpeg.tar.gz
cd mozjpeg
autoreconf -fiv
./configure --with-jpeg8 --prefix=/usr
make
sudo make install

sudo apt-get install bzip2
cd /tmp
wget https://github.com/mozilla/mozjpeg/archive/v3.3.1.tar.gz -O jpeg-archive.tar.bz2
tar -xf jpeg-archive.tar.bz2
sudo cp jpeg-recompress /usr/bin/jpeg-recompress
sudo chmod 755 /usr/bin/jpeg-recompress

screen ImageOptmizer

find /data/www/path/to/your/install -type f -iname ‘*.jpg’ -exec jpeg-recompress --quality medium --min 60 --method smallfry {} {} ;

sudo apt install exiftool
find /data/www/path/to/your/install -type f -iname “*.jpg” -exec exiftool -overwrite_original -all= {} ;

Also, backup your images, just in case something goes wrong.

IrfanView > Batch Conversion

I'm using this for years...

I use this add-on with shortpixel, which cart-power made on my request after research and trial and error with other optimizers. Saved over 2GB of space with no noticable quality loss like normal JPG compression :)

https://store.cart-power.com/cs-cart-image-optimization-add-on.html

Also see: https://shortpixel.com/

I use this add-on with shortpixel, which cart-power made on my request after research and trial and error with other optimizers. Saved over 2GB of space with no noticable quality loss like normal JPG compression :)

https://store.cart-power.com/cs-cart-image-optimization-add-on.html

Also see: https://shortpixel.com/

How did this work for you FLow, I did have this but was always unsure it it had done the job or not, took overnight once ?

Do you find it smooth etc?

Yeah it has some weird quirks but i'm working on getting everything clear and running smoothly with cart-power as we speak.

Please also pay attention to our module for images optimisation. If you have any questions, please contact me

https://www.ecom-labs.com/ready-to-use-add-ons/cs-cart-images-optimization-add-on.html

Thanks for repsonses.

@ecomlabs I used your addon and seemed easier than cart powers version which I had problems with.

I used cron to optimise thumbnails and works great thanks, but tried last night to do same with other images and have email saying permission denied ?

/bin/sh: /home/hiviscou/public_html/myadmin.php: Permission denied

any guidance, Im not fully aware of cron

John

Thanks for repsonses.

@ecomlabs I used your addon and seemed easier than cart powers version which I had problems with.

I used cron to optimise thumbnails and works great thanks, but tried last night to do same with other images and have email saying permission denied ?

/bin/sh: /home/hiviscou/public_html/myadmin.php: Permission denied

any guidance, Im not fully aware of cron

John

I have forwarded your request to required specialist. He will contact you soon