Image Optimizer for XF 2.0

Image Optimizer for XF 2.0 [Paid] 2.1.8

No permission to buy ($29.00)
Hi @truonglv would these php-fpm errors be coming from the optimizer? running latest.
Code:
[05-Apr-2021 04:10:38] WARNING: [pool forums] child 15520 said into stderr: "gifsicle: unrecognized option '--lossy=80'"
[05-Apr-2021 04:10:38] WARNING: [pool forums] child 15520 said into stderr: "Usage: gifsicle [OPTION | FILE | FRAME]..."
[05-Apr-2021 04:10:38] WARNING: [pool forums] child 15520 said into stderr: "Try 'gifsicle --help' for more information."

Code:
Package gifsicle-1.91-1.el7.x86_64 installed and latest version
 
Hi @truonglv would these php-fpm errors be coming from the optimizer? running latest.
Code:
[05-Apr-2021 04:10:38] WARNING: [pool forums] child 15520 said into stderr: "gifsicle: unrecognized option '--lossy=80'"
[05-Apr-2021 04:10:38] WARNING: [pool forums] child 15520 said into stderr: "Usage: gifsicle [OPTION | FILE | FRAME]..."
[05-Apr-2021 04:10:38] WARNING: [pool forums] child 15520 said into stderr: "Try 'gifsicle --help' for more information."

Code:
Package gifsicle-1.91-1.el7.x86_64 installed and latest version
You're NOT running latest version!
Repository version != "latest" !!

Latest version is 2 years old (v1.92) you're using, v1.91 which is 3 years old.

Check here:

1.92 – 18.Apr.2019
Add ‘--lossy’ option from Kornel Lipiński.
 
You're NOT running latest version!
Repository version != "latest" !!

Latest version is 2 years old (v1.92) you're using, v1.91 which is 3 years old.

Check here:
Centos 7 epel is old. cheers, should be fixed now.

Code:
[root@slave1 downloads]# wget http://www.lcdf.org/gifsicle/gifsicle-1.92.tar.gz

Code:
[root@slave1 gifsicle-1.92]# gifsicle --version
LCDF Gifsicle 1.92
Copyright (C) 1997-2019 Eddie Kohler
This is free software; see the source for copying conditions.
There is NO warranty, not even for merchantability or fitness for a
particular purpose.
 
did I install it correctly ? how do I delete these files? These files are not deleted? permissions cannot be set so files cannot be deleted how do I resolve?
 

Attachments

  • Screenshot_1.webp
    Screenshot_1.webp
    110.2 KB · Views: 34
  • Screenshot_2.webp
    Screenshot_2.webp
    45.2 KB · Views: 21
  • Screenshot_3.webp
    Screenshot_3.webp
    23.3 KB · Views: 19
  • Screenshot_2.webp
    Screenshot_2.webp
    13.5 KB · Views: 31
Last edited:
This has exceeded my expectations. Well done.

1620935878044.webp

We went for a period of time where we were allowing unresized attachments (by accident) when we migrated from vbulletin to xenforo. This racked up a ton of space which we didn't catch fast enough. Luckily we got it resolved but still had a ton of space taken up by these non-optimized images so I started looking at writing a script to resize and compress them but then I came across this extension while researching.

I highly recommend this plugin. It's the only plugin we run.
 
And the final update.

After 6 weeks of running (first with the default settings but quickly after created a new cronjob that ran every minute@50 images) it is done with all the images:

  • 1.45 million attachments
  • 247.000 avatars
  • 1.47 million proxy images (according to id)

Original total size: 251GB
New size: 92GB

A saving of 63.5%

Quick update:
1637068761457.webp
 
You just need run setup.sh file. The script will automatically handle the rest.

I did not have a problem with the centos panel, but after switching to the plesk panel, even if I run setup.sh with .sh, the image size does not decrease. What should I do to run this file in plesk panel?
 
Top Bottom