Post by Renecek » Tue Sep 27, 2022 2:12 am

Hi,
just found my client has a lot of images in his opencart. There is 17GB of images in his FTP.

Can you recommend me steps to fix that? Maybe some "smush" plugin?
Thank you
/image/
0 ./categories
0 ./manufacturers
0 ./rma
4.0K ./modules
200K ./kbsupercheckout
316K ./payment
432K ./data
1.3M ./options
2.3M ./promo
13M ./common
32M ./iproductvideo
360M ./catalog
3.7G ./cache
17G ./products
21G .

New member

Posts

Joined
Thu Dec 10, 2015 7:12 pm

Post by johnp » Tue Sep 27, 2022 2:34 am


Opencart 1.5.6.5/OC Bootstrap Pro/VQMOD lover, user and geek.
Affordable Service £££ - Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More
FREE Guidance and Advice at https://www.ecommerce-help.co.uk


User avatar
Active Member

Posts

Joined
Fri Mar 25, 2011 10:25 am
Location - Surrey, UK

Post by IP_CAM » Tue Sep 27, 2022 4:37 am

or then do it online with this one:
https://www.picdiet.com/

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by Renecek » Tue Sep 27, 2022 3:11 pm

IP_CAM wrote:
Tue Sep 27, 2022 4:37 am
or then do it online with this one:
https://www.picdiet.com/
How? I need download all images from FTP, compress them and upload them back to FTP?

New member

Posts

Joined
Thu Dec 10, 2015 7:12 pm

Post by IP_CAM » Tue Sep 27, 2022 4:02 pm

That's correct. ;) You also have to remove all cached images, to get them created again after uploading the modified images.

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by paulfeakins » Tue Sep 27, 2022 7:10 pm

Renecek wrote:
Tue Sep 27, 2022 3:11 pm
How? I need download all images from FTP, compress them and upload them back to FTP?
Or if you have SSH access and can write a simple bash command you could use:

Code: Select all

magick source.jpg -strip -interlace Plane -gaussian-blur 0.05 -quality 85% result.jpg
https://stackoverflow.com/questions/726 ... magemagick

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom
Who is online

Users browsing this forum: No registered users and 74 guests