• Hello Guest,
    There are new packages allow you download any resources with a single purchase. Click here to upgrade your account ;)
Image Optimizer for XF 2.0

Image Optimizer for XF 2.0 [Paid] 2.0.0

No permission to buy ($29.00)

Truonglv

Staff member
Tech Support
truonglv submitted a new resource:

Image Optimizer for XF 2.0 - Optimize all attachments in your forum to save disk space.

  • Add-on have provide a powerful settings in ACP options. You MUST settings option before running optimize images.
  • All files will be overwrite then you cannot revert the file to original.

DESCRIPTION
Optimizing all images which stored in XenForo to lower size and do not loss quality.

Supported:
  • XenForo default attachments
  • Image Proxy Cache
Read more about this resource...
 

Bonsai Coder

New Member
I am getting depressed. :( No different server errors - and the server errors are quite infrequent. Sometimes I won't get a server error for four hours while this process is running.


3203
 

Tealk

Member
Hi,

i get the following error, but I don't know where it came from:
Code:
Server error log

    ErrorException: [tl] Image Optimizer: Failed to optimize image. $path=/internal_data/temp/xf727pCw, $command=/usr/bin/gifsicle --colors='256' --lossy='80' --no-names --output '/internal_data/temp/xf3IaKLs' '/internal_data/temp/xf727pCw' $output=array ( ) $newSize=0 src/XF/Error.php:75

    Generated by: Unknown account May 30, 2019 at 1:41 PM

Stack trace

#0 src/XF.php(187): XF\Error->logError('[tl] Image Opti...', false)
#1 src/addons/Truonglv/ImageOptimizer/Images/AbstractImage.php(55): XF::logError('[tl] Image Opti...')
#2 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(143): Truonglv\ImageOptimizer\Images\AbstractImage->optimize('/var/customers/...')
#3 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(85): Truonglv\ImageOptimizer\Job\Optimizer->optimizeImageFile('internal-data:/...', Object(Truonglv\ImageOptimizer\ContentData\ImageProxy))
#4 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(52): Truonglv\ImageOptimizer\Job\Optimizer->processImages(Array, 'image_proxy', Object(XF\Timer), 642)
#5 src/XF/Job/Manager.php(253): Truonglv\ImageOptimizer\Job\Optimizer->run(10)
#6 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, 10)
#7 src/XF/Job/Manager.php(164): XF\Job\Manager->runJobEntry(Array, 10)
#8 src/XF/Cli/Runner.php(134): XF\Job\Manager->runById(1360, 10)
#9 src/XF/Cli/Runner.php(64): XF\Cli\Runner->postExecutionCleanUp(Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 cmd.php(15): XF\Cli\Runner->run()
#11 {main}

Request state

array(1) {
  ["cli"] => string(77) "/cmd.php --quiet --time=50 xf:run-jobs"
}
the following is in the log:
3224
 

zTurko

New Member
Hi,

i get the following error:

Code:
ErrorException: Binary (/usr/bin/jpegoptim) are incorrect version. Expected version: 1.4.4 Your version: v1.4.6 src/XF/Error.php:75
Généré par: Compte inconnu 11 Juin 2019, à 20:25
Trace de la pile
#0 src/XF.php(187): XF\Error->logError('Binary (/usr/bi...', false)
#1 src/addons/Truonglv/ImageOptimizer/Images/JPEG.php(62): XF::logError('Binary (/usr/bi...')
#2 src/addons/Truonglv/ImageOptimizer/Images/AbstractImage.php(32): Truonglv\ImageOptimizer\Images\JPEG->beforeOptimize()
#3 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(143): Truonglv\ImageOptimizer\Images\AbstractImage->optimize('/home/xxx...')
#4 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(85): Truonglv\ImageOptimizer\Job\Optimizer->optimizeImageFile('internal-data:/...', Object(Truonglv\ImageOptimizer\ContentData\ImageProxy))
#5 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(52): Truonglv\ImageOptimizer\Job\Optimizer->processImages(Array, 'image_proxy', Object(XF\Timer), 10550)
#6 src/XF/Job/Manager.php(253): Truonglv\ImageOptimizer\Job\Optimizer->run(G)
#7 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#8 src/XF/Job/Manager.php(79): XF\Job\Manager->runJobEntry(Array, G)
#9 job.php(42): XF\Job\Manager->runQueue(false, 8)
#10 {main}
État de la demande
array(4) {
  ["url"] => string(8) "/job.php"
  ["referrer"] => string(21) "https://forum.com/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
Code:
ErrorException: Binary (/usr/bin/pngquant) are incorrect version. Expected version: 2.12.3 Your version: 2.7.2 src/XF/Error.php:75
Généré par: Compte inconnu 11 Juin 2019, à 15:20
Trace de la pile
#0 src/XF.php(187): XF\Error->logError('Binary (/usr/bi...', false)
#1 src/addons/Truonglv/ImageOptimizer/Images/PNG.php(48): XF::logError('Binary (/usr/bi...')
#2 src/addons/Truonglv/ImageOptimizer/Images/AbstractImage.php(32): Truonglv\ImageOptimizer\Images\PNG->beforeOptimize()
#3 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(143): Truonglv\ImageOptimizer\Images\AbstractImage->optimize('/home/xxx...')
#4 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(85): Truonglv\ImageOptimizer\Job\Optimizer->optimizeImageFile('internal-data:/...', Object(Truonglv\ImageOptimizer\ContentData\ImageProxy))
#5 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(52): Truonglv\ImageOptimizer\Job\Optimizer->processImages(Array, 'image_proxy', Object(XF\Timer), 10539)
#6 src/XF/Job/Manager.php(253): Truonglv\ImageOptimizer\Job\Optimizer->run(G)
#7 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#8 src/XF/Job/Manager.php(79): XF\Job\Manager->runJobEntry(Array, G)
#9 job.php(42): XF\Job\Manager->runQueue(false, 8)
#10 {main}
État de la demande
array(4) {
  ["url"] => string(8) "/job.php"
  ["referrer"] => string(54) "https://forum.io/threads/x30-deezer-premium.15758/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 

TVA

New Member
We're getting a lot of these errors daily:

Code:
Server error log
ErrorException: Binary (/httpdocs/site.com/html/community/src/addons/Truonglv/ImageOptimizer/pngquant) are incorrect version. Expected version: 2.12.3 Your version: 2.12.2 src/XF/Error.php:75
Generated by: Unknown account Jun 25, 2019 at 4:41 PM
Stack trace
#0 src/XF.php(187): XF\Error->logError('Binary (/www/si...', false)
#1 src/addons/Truonglv/ImageOptimizer/Images/PNG.php(48): XF::logError('Binary (/www/si...')
#2 src/addons/Truonglv/ImageOptimizer/Images/AbstractImage.php(32): Truonglv\ImageOptimizer\Images\PNG->beforeOptimize()
#3 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(143): Truonglv\ImageOptimizer\Images\AbstractImage->optimize('/www/sites/tvad...')
#4 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(85): Truonglv\ImageOptimizer\Job\Optimizer->optimizeImageFile('internal-data:/...', Object(Truonglv\ImageOptimizer\ContentData\ImageProxy))
#5 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(52): Truonglv\ImageOptimizer\Job\Optimizer->processImages(Array, 'image_proxy', Object(XF\Timer), 13348)
#6 src/XF/Job/Manager.php(253): Truonglv\ImageOptimizer\Job\Optimizer->run(G)
#7 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#8 src/XF/Job/Manager.php(79): XF\Job\Manager->runJobEntry(Array, G)
#9 job.php(42): XF\Job\Manager->runQueue(false, 8)
#10 {main}
Request state
array(4) {
  ["url"] => string(18) "/community/job.php"
  ["referrer"] => string(75) "https://www.site.com/community/conversations/re-regex-help-needed.71259/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
What should we do?
 
Top