WordPress.org

Forums

EWWW Image Optimizer
[resolved] Images are not optimized (2 posts)

  1. Ena-Mar
    Member
    Posted 1 year ago #

    Hello nosilver4u,

    I got the plugin to work however the results are not really convincing. I have run the tool in bulk and got a "no savings" for all images. Google pagespeed however tells me I need to optimize the images and upon manual download I could compress the JPGs with FileOptimizer.

    I have attached the debug log below, the directories have been anonymized.

    Debug Log

    XXXXXX
    WP version: 3.8.1
    EWWW IO version: 181
    ewww_image_optimizer_admin_init()
    ewww_image_optimizer_install_tools()
    Checking/Installing tools in /var/www/xxx/wp-content/ewww/
    wp-content/ewww permissions: 0755
    ewww_image_optimizer_install_paths()
    CPU architecture: x86_64
    generated paths:
    /var/www/xxx/wp-content/plugins/ewww-image-optimizer/jpegtran-linux64
    /var/www/xxx/wp-content/plugins/ewww-image-optimizer/optipng-linux
    /var/www/xxx7/wp-content/plugins/ewww-image-optimizer/gifsicle-linux
    /var/www/xxx/wp-content/ewww/jpegtran
    /var/www/xxx/wp-content/ewww/optipng
    /var/www/xxx/wp-content/ewww/gifsicle
    64-bit linux detected while installing tools
    ewww_image_optimizer_md5check()
    /var/www/xxx/wp-content/ewww/jpegtran-custom: 2dab67e5f223b70c43b2fef355b39d3f
    Linux/UNIX style OS, checking permissions
    jpegtran permissions: 0755
    gifislce permissions: 0755
    optipng permissions: 0755
    ewww_image_optimizer_init()
    ewww_image_optimizer_cloud_verify()
    ewww_image_optimizer_notice_utils()
    ewww_image_optimizer_exec_check()
    disable_functions = system, show_source, passthru, shell_exec, pcntl_exec, popen, posix_setuid, posix_seteuid, proc_open, chown, dbmopen, disk_free_space, diskfreespace
    suhosin_blacklist =
    ewww_image_optimizer_safemode_check()
    safe_mode =
    ewww_image_optimizer_path_check()
    found /var/www/xxx/wp-content/ewww/jpegtran, testing...
    ewww_image_optimizer_md5check()
    /var/www/xxx/wp-content/ewww/jpegtran: 4da4092708650ceb79df19d528e7956b
    ewww_image_optimizer_mimetype()
    testing mimetype: /var/www/wxxx/wp-content/ewww/jpegtran
    finfo_file: application/x-executable
    ewww_image_optimizer_tool_found()
    testing case: j at /var/www/xxx/wp-content/ewww/jpegtran
    /var/www/xxx/wp-content/ewww/jpegtran: Independent JPEG Group's JPEGTRAN, version 9 13-Jan-2013
    found /var/www/xxx/wp-content/ewww/optipng, testing...
    ewww_image_optimizer_md5check()
    /var/www/xxx/wp-content/ewww/optipng: 4eb91937291ce5038d0c68f5f2edbcfd
    ewww_image_optimizer_mimetype()
    testing mimetype: /var/xxx/wp-content/ewww/optipng
    finfo_file: application/x-executable
    ewww_image_optimizer_tool_found()
    testing case: o at /var/www/xxx/wp-content/ewww/optipng
    /var/www/xxx/wp-content/ewww/optipng: OptiPNG version 0.7.4
    found /var/www/xxx/wp-content/ewww/gifsicle, testing...
    ewww_image_optimizer_md5check()
    /var/www/xxx/wp-content/ewww/gifsicle: 151e395e2efa0e7845b18984d0f092af
    ewww_image_optimizer_mimetype()
    testing mimetype: /var/www/wxxx/wp-content/ewww/gifsicle
    finfo_file: application/x-executable
    ewww_image_optimizer_tool_found()
    testing case: g at /var/www/xxx/wp-content/ewww/gifsicle
    /var/www/xxx/wp-content/ewww/gifsicle: LCDF Gifsicle 1.78
    ewww_image_optimizer_tool_found()
    testing case: p at pngout
    pngout: sh: pngout: command not found
    ewww_image_optimizer_tool_found()
    testing case: p at /usr/bin/pngout
    /usr/bin/pngout: sh: /usr/bin/pngout: No such file or directory
    ewww_image_optimizer_tool_found()
    testing case: p at /usr/local/bin/pngout
    /usr/local/bin/pngout: sh: /usr/local/bin/pngout: No such file or directory
    ewww_image_optimizer_tool_found()
    testing case: p at /usr/gnu/bin/pngout
    /usr/gnu/bin/pngout: sh: /usr/gnu/bin/pngout: No such file or directory
    ewww_image_optimizer_tool_found()
    testing case: p at pngout-static
    pngout-static: sh: pngout-static: command not found
    ewww_image_optimizer_tool_found()
    testing case: p at /usr/bin/pngout-static
    /usr/bin/pngout-static: sh: /usr/bin/pngout-static: No such file or directory
    ewww_image_optimizer_tool_found()
    testing case: p at /usr/local/bin/pngout-static
    /usr/local/bin/pngout-static: sh: /usr/local/bin/pngout-static: No such file or directory
    ewww_image_optimizer_tool_found()
    testing case: p at /usr/gnu/bin/pngout-static
    /usr/gnu/bin/pngout-static: sh: /usr/gnu/bin/pngout-static: No such file or directory
    using: /var/www/xxx/wp-content/ewww/jpegtran
    using: /var/www/xxx/wp-content/ewww/optipng
    using: /var/www/xxx/wp-content/ewww/gifsicle
    ewww_image_optimizer_options()
    ewww_image_optimizer_install_paths()
    CPU architecture: x86_64
    generated paths:
    /var/www/xxx/wp-content/plugins/ewww-image-optimizer/jpegtran-linux64
    /var/www/xxx/wp-content/plugins/ewww-image-optimizer/optipng-linux
    /var/www/xxx/wp-content/plugins/ewww-image-optimizer/gifsicle-linux
    /var/www/xxx/wp-content/ewww/jpegtran
    /var/www/xxx/wp-content/ewww/optipng
    /var/www/xxx/wp-content/ewww/gifsicle
    ewww_image_optimizer_tool_found()
    testing case: j at /var/www/xxx/wp-content/ewww/jpegtran
    /var/www/xxx/wp-content/ewww/jpegtran: Independent JPEG Group's JPEGTRAN, version 9 13-Jan-2013
    ewww_image_optimizer_tool_found()
    testing case: o at /var/www/xxx/wp-content/ewww/optipng
    /var/www/xxx/wp-content/ewww/optipng: OptiPNG version 0.7.4
    ewww_image_optimizer_tool_found()
    testing case: g at /var/www/xxx/wp-content/ewww/gifsicle
    /var/www/xxx/wp-content/ewww/gifsicle: LCDF Gifsicle 1.78
    ewww_image_optimizer_gd_support()
    GD found, supports:
    GD Version: bundled (2.1.0 compatible)
    FreeType Support: 1
    FreeType Linkage: with freetype
    T1Lib Support: 1
    GIF Read Support: 1
    GIF Create Support: 1
    JPEG Support: 1
    PNG Support: 1
    WBMP Support: 1
    XPM Support: 1
    XBM Support: 1
    JIS-mapped Japanese Font Support:
    ewww_image_optimizer_tool_found()
    testing case: i at convert
    convert: Version: ImageMagick 6.6.0-4 2012-06-18 Q16 http://www.imagemagick.org
    ewww_image_optimizer_safemode_check()
    safe_mode =
    ewww_image_optimizer_exec_check()
    disable_functions = system, show_source, passthru, shell_exec, pcntl_exec, popen, posix_setuid, posix_seteuid, proc_open, chown, dbmopen, disk_free_space, diskfreespace
    suhosin_blacklist =
    ewww_image_optimizer_tool_found()
    testing case: n at nice
    nice: 0
    ewww_image_optimizer_tool_found()
    testing case: t at tar
    tar: tar (GNU tar) 1.23
    ewww_image_optimizer_jpeg_background()
    ewww_image_optimizer_jpeg_background()
    ewww_image_optimizer_jpg_quality()

    https://wordpress.org/plugins/ewww-image-optimizer/

  2. nosilver4u
    Member
    Plugin Author

    Posted 1 year ago #

    Everything looks good on the debugging output. All the tools appear to be detected. And that is definitely highly irregular that you would get 'No Savings' on every image.

    Do you have any of the conversion options enabled? Are there any other settings you changed from the defaults?

    Also, try turning on the WP_DEBUG setting in your wp-config.php file, then use the Empty table button on the Bulk Optimize to reset things, and try a handful of images that Google Pagespeed tells you there are savings to be found.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • EWWW Image Optimizer
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.