Image Optimizer for XF 2.0

Image Optimizer for XF 2.0 [Paid] 2.2.1

PayPal: $29.00
Truonglv
Code:
Server error log
ErrorException: Job Truonglv\ImageOptimizer\Job\Optimizer: [E_WARNING] filesize(): stat failed for /var/www/vhosts/cevremuhendisleri.net/domains/cevremuhendisleri.net/public_html/internal_data/temp/tio_kXVOzH1674502507580 src/addons/Truonglv/ImageOptimizer/Images/AbstractImage.php:148
Generated by: Unknown account 23 Jan 2023 at 22:35

Stack trace
#0 [internal function]: XF::handlePhpError(2, '[E_WARNING] fil...', '/var/www/vhosts...', 148, Array)
#1 src/addons/Truonglv/ImageOptimizer/Images/AbstractImage.php(148): filesize('/var/www/vhosts...')
#2 src/addons/Truonglv/ImageOptimizer/Images/AbstractImage.php(78): Truonglv\ImageOptimizer\Images\AbstractImage->getFilesize('/var/www/vhosts...')
#3 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(202): Truonglv\ImageOptimizer\Images\AbstractImage->optimize('/var/www/vhosts...')
#4 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(123): Truonglv\ImageOptimizer\Job\Optimizer->optimizeImageFile('internal-data:/...', Object(Truonglv\ImageOptimizer\ContentData\AttachmentData))
#5 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(69): Truonglv\ImageOptimizer\Job\Optimizer->processImages(Array, 'attachment_data', Object(XF\Timer), 30293)
#6 src/XF/Job/Manager.php(260): Truonglv\ImageOptimizer\Job\Optimizer->run(8)
#7 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 8)
#8 src/XF/Job/Manager.php(86): XF\Job\Manager->runJobEntry(Array, 8)
#9 job.php(43): XF\Job\Manager->runQueue(false, 8)
#10 {main}
 
View previous replies…
Truonglv updated Image Optimizer for XF 2.0 with a new update entry:

2.1.3

Notable changes:
  • Updated install scripts
  • Bump pngquant to version 3.0.1
  • Bump jpegoptim to version 1.5.1
  • Bump gifsicle to version 1.93
  • Required Rust v1.5.6 or higher
Note: This add-on was tested with above library version; other version may not work well and your images may not optimized in some cases.

Read the rest of this update entry...
 
hmmm guess I can't upgrade because the OS provided versions for me are:
pngquant-2.7.2-3.el7.x86_64
jpegoptim-1.4.6-1.el7.x86_64
gifsicle-1.93-1.el7.x86_64
 
The add-on provides install scripts for the latest version (../src/addons/Truonglv/ImageOptimizer/scripts).

However, I had to do a lot of manual compiling (running Almalinux 8) because the scripts didn't work out of the box for me.

Took me about 15 minutes to get everything working.
 
The add-on provides install scripts for the latest version (../src/addons/Truonglv/ImageOptimizer/scripts).

However, I had to do a lot of manual compiling (running Almalinux 8) because the scripts didn't work out of the box for me.

Took me about 15 minutes to get everything working.
duderuudthe script was tested with ubuntu; it may not work with other system :(
 
Back
Top