Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Image Optimisation Can Anyone Recommend Rate Topic   - - - - -

 
  • johnbol1
  • Never Re
  • Members
  • Join Date: 23-Feb 10
  • 4377 posts

Posted 30 April 2018 - 06:26 PM #1

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

 

Thanks

JOhn


Custom printed hi visibility clothing sale the UK's online hivis safety shop
v4.5.2


 
  • poppedweb
  • Authorized Reseller
  • Members
  • Join Date: 02-Aug 16
  • 431 posts

Posted 30 April 2018 - 07:00 PM #2

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= \{} \;

PoppedWeb | sales@poppedweb.com | https://poppedweb.com
TurnKey Website Design | Add-Ons | Performance Audits | Dedicated Server Management
24/7 Support | Response within an hour (during working hours).

 
  • poppedweb
  • Authorized Reseller
  • Members
  • Join Date: 02-Aug 16
  • 431 posts

Posted 30 April 2018 - 07:05 PM #3

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


PoppedWeb | sales@poppedweb.com | https://poppedweb.com
TurnKey Website Design | Add-Ons | Performance Audits | Dedicated Server Management
24/7 Support | Response within an hour (during working hours).

 
  • martfox
  • Member
  • Authorized Reseller
  • Join Date: 15-Jan 10
  • 556 posts

Posted 30 April 2018 - 09:15 PM #4

IrfanView > Batch Conversion

 

I'm using this for years...


CS-Cart with 1 Year FREE Web Hosting | CS-Cart optimized SSD Cloud VPS Servers from €10.00/month
.
VPS SSD Cloud from €10.00 *** Dedicated Servers *** CS-Cart Authorized Reseller and Web Hosting Provider


 
  • Flow
  • Super Duper and Amazingly Sexy Senior
  • Members
  • Join Date: 13-Oct 10
  • 2168 posts

Posted 01 May 2018 - 08:08 AM #5

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-p...ion-add-on.html

 

Also see: https://shortpixel.com/


When life hands you lemons, bring on the Tequila baby!


 
  • johnbol1
  • Never Re
  • Members
  • Join Date: 23-Feb 10
  • 4377 posts

Posted 01 May 2018 - 04:51 PM #6

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-p...ion-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?


Custom printed hi visibility clothing sale the UK's online hivis safety shop
v4.5.2


 
  • Flow
  • Super Duper and Amazingly Sexy Senior
  • Members
  • Join Date: 13-Oct 10
  • 2168 posts

Posted 01 May 2018 - 05:29 PM #7

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


When life hands you lemons, bring on the Tequila baby!


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 18160 posts

Posted 02 May 2018 - 06:16 AM #8

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

 

https://www.ecom-lab...ion-add-on.html


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • johnbol1
  • Never Re
  • Members
  • Join Date: 23-Feb 10
  • 4377 posts

Posted 04 May 2018 - 06:44 AM #9

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


Custom printed hi visibility clothing sale the UK's online hivis safety shop
v4.5.2


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 18160 posts

Posted 04 May 2018 - 01:07 PM #10

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


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.