Image Optimizer for XF 2.0

Image Optimizer for XF 2.0 [Paid] 2.2.1

PayPal: $29.00
Hey there.... Sorry for mucking things up with a post pointing to my issue on xenforo.

I'll move it over to here.
2018-04-21_113421.webp
All of the binaries pass..

But according to the log at MYDOMAIN/admin.php?tools/io-logs it is only processing jpg files. It doesn't seem to work for png or gif files at all. It just skips over them..
2018-04-21_113630.webp

What am I doing wrong?

2018-04-21_113903.webp

There are no errors in regards to this on the admin side.
 
Hey there.... Sorry for mucking things up with a post pointing to my issue on xenforo.

I'll move it over to here.
View attachment 2424
All of the binaries pass..

But according to the log at MYDOMAIN/admin.php?tools/io-logs it is only processing jpg files. It doesn't seem to work for png or gif files at all. It just skips over them..
View attachment 2425

What am I doing wrong?

View attachment 2426

There are no errors in regards to this on the admin side.
strongIt's weird. Have you tested with upload some images?
 
It's weird. Have you tested with upload some images?
truonglvI checked the binaries from the command line:
Bash:
gifsicle -O3 /internal_data/attachments/0/test.gif -o /internal_data/attachments/0/test1.gif
and the binaries works manually from the command line.
 
Last edited:
View previous replies…
I checked the binaries from the command line:
Bash:
gifsicle -O3 /internal_data/attachments/0/test.gif -o /internal_data/attachments/0/test1.gif
and the binaries works manually from the command line.
strongHi @strong How do you know the PNG and GIF images was not compressed? In the log page does not say the file extension.
 
Hi @strong How do you know the PNG and GIF images was not compressed? In the log page does not say the file extension.
truonglvBecause it does identify the files it does optimize. It is just skipping png and gif files altogether.

If a jpg is uploaded, it lists it. If a gif or PNG file is uploaded, it does nothing. If uploading a gif or png and then a jpg file, it will only list the jpg.

I used the command line to see if the binaries work on the attachments and they work. I can tell by comparing file sizes. It's dramatic.
 
Because it does identify the files it does optimize. It is just skipping png and gif files altogether.

If a jpg is uploaded, it lists it. If a gif or PNG file is uploaded, it does nothing. If uploading a gif or png and then a jpg file, it will only list the jpg.

I used the command line to see if the binaries work on the attachments and they work. I can tell by comparing file sizes. It's dramatic.
strongFound the issues. Will release soon.
 
Hi @truonglv
Just installed and checking options.
After chmod +x, both jpegoptim + gifsicle say are ok.
But with pngquant I get this error:
Whoops! Look like binary not valid. Please rerun the file io_setup.sh to install the suitable binary for your server.
imaxe008.webp
There's no io_setup.sh, there's only a setup.sh file.
================
SOLVED :)
I'll write it down in case it helps:
# chmod +x setup.sh
# ./setup.sh

Done :)
 
However... just after clicking on "Enable optimizing" + Save.
I checked the log and got:
Error log:
XF\Db\Exception: MySQL statement prepare error [1146]: Table 'ddbb_xf.tl_image_optimizer_log' doesn't exist in src/XF/Db/AbstractStatement.php at line 212

Don't really know how to continue? Any cronjob?
 
However... just after clicking on "Enable optimizing" + Save.
I checked the log and got:
Error log:
XF\Db\Exception: MySQL statement prepare error [1146]: Table 'ddbb_xf.tl_image_optimizer_log' doesn't exist in src/XF/Db/AbstractStatement.php at line 212

Don't really know how to continue? Any cronjob?
BreixoYou may see in the logs page. Does you fresh install this add-on or upgrade from XF1 version?
 
Back
Top