• Resolved REGGSenterprises

    (@cruisenewsandreviews)


    I ran the scan and it shows 9515 images need to be optimized. Ran optimization on them 3 times but it still says 9515 images need to be optimized. Why are those images being ignored? GTmetrix also says they need to be optimized.

Viewing 15 replies - 1 through 15 (of 38 total)
  • Plugin Author Shane Bishop

    (@nosilver4u)

    are you using Amazon S3 for image storage?

    Thread Starter REGGSenterprises

    (@cruisenewsandreviews)

    All of my images are stored on my server.

    Plugin Author Shane Bishop

    (@nosilver4u)

    Do they have any special characters that would be utf8 encoded?

    Plugin Author Shane Bishop

    (@nosilver4u)

    The reason I ask is I just merged in a pull request from github that fixes an issue with double-encoding utf8 filenames. You would be able to see this behavior in the form of corrupted filenames being displayed during the bulk optimization.

    If that is not the case, please let me know if there is anything abnormal displayed during the bulk optimization. Does the plugin say ‘skipped’, ‘unknown’, or does it display what appears to be a valid compression result?

    Lastly, please turn on the debugging setting, and post your debug information from the settings page via pastebin.com (or in code tags).

    Thread Starter REGGSenterprises

    (@cruisenewsandreviews)

    Here is a link for one of the images. Not sure if it is utf8 encoded. I do see that most if not all of the images all end in 270×400. I assume that means they were resized images.

    Optimizing /home/xxxxxxxxxxx/wp-content/uploads/2016/12/Wpeng-3pcs-Cable-Tie-Cord-Organizer-Wire-Wrap-Headset-Headphone-Earphone-Wrap-Winder-Cute-Cartoon-Animal-Cable-Manager-Duck-Bear-Pig-0-0-270×400.jpg

    I will turn on debugging and forward.

    Thread Starter REGGSenterprises

    (@cruisenewsandreviews)

    I just noticed that after doing the search for unoptimized images then running the bulk optimization, all of the images it originally said need to be optimized show up at “previously optimized”

    The optimization log shows:
    Optimized /home/xxxxxxxxxxxxxxxxx/wp-content/uploads/2016/12/Wpeng-3pcs-Cable-Tie-Cord-Organizer-Wire-Wrap-Headset-Headphone-Earphone-Wrap-Winder-Cute-Cartoon-Animal-Cable-Manager-Duck-Bear-Pig-0-0-270×400.jpg
    Reduced by 11.6% (976.0 B) – Previously Optimized

    Dynamic image debugging shows:
    File path: /xxxxxxxxxxxxxx/wp-content/uploads/2016/09/Samsung-Galaxy-S7-Screen-Protector-03mm-9H-Tempered-Glass-Ultra-Thin-With-Premium-HD-Clarity-Shatterproof-Ballistic-Shield-Anti-Fingerprints-Scratch-Proof-Max-Touch-Accuracy-0-0.jpg
    Number of attempted optimizations: 1
    Last attempted: 2017-01-02 17:28:50
    PHP trace:
    Cannot display trace

    Image queue debuggin is empty.

    Plugin Author Shane Bishop

    (@nosilver4u)

    Can you post the debug info from the settings page please?

    Thread Starter REGGSenterprises

    (@cruisenewsandreviews)

    Hopefully this is what you need:

    ewww_image_optimizer_gallery_support()
    ewww_image_optimizer_admin_init()
    ewww_image_optimizer_cloud_init()
    ewww_image_optimizer_upgrade()
    ewww_image_optimizer_exec_init()
    ewww_image_optimizer_cron_setup()
    ewww_image_optimizer_tool_init()
    ewww_image_optimizer_install_tools()
    Checking/Installing tools in /home/reggsen1/public_html/huntinggearsuperstore/wp-content/ewww/
    wp-content/ewww permissions: 0755
    ewww_image_optimizer_install_paths()
    CPU architecture: x86_64
    generated paths:
    /home/reggsen1/public_html/huntinggearsuperstore/wp-content/plugins/ewww-image-optimizer/binaries/jpegtran-linux
    /home/reggsen1/public_html/huntinggearsuperstore/wp-content/plugins/ewww-image-optimizer/binaries/optipng-linux
    /home/reggsen1/public_html/huntinggearsuperstore/wp-content/plugins/ewww-image-optimizer/binaries/gifsicle-linux
    /home/reggsen1/public_html/huntinggearsuperstore/wp-content/plugins/ewww-image-optimizer/binaries/pngquant-linux
    /home/reggsen1/public_html/huntinggearsuperstore/wp-content/plugins/ewww-image-optimizer/binaries/cwebp-linux
    /home/reggsen1/public_html/huntinggearsuperstore/wp-content/ewww/jpegtran
    /home/reggsen1/public_html/huntinggearsuperstore/wp-content/ewww/optipng
    /home/reggsen1/public_html/huntinggearsuperstore/wp-content/ewww/gifsicle
    /home/reggsen1/public_html/huntinggearsuperstore/wp-content/ewww/pngquant
    /home/reggsen1/public_html/huntinggearsuperstore/wp-content/ewww/cwebp
    ewww_image_optimizer_skip_tools()
    enabled: jpegtran
    enabled: optipng
    enabled: gifsicle
    Linux/UNIX style OS, checking permissions
    ewww_image_optimizer_check_permissions()
    permissions for /home/reggsen1/public_html/huntinggearsuperstore/wp-content/ewww/jpegtran: 0755
    permissions ok
    ewww_image_optimizer_check_permissions()
    permissions for /home/reggsen1/public_html/huntinggearsuperstore/wp-content/ewww/gifsicle: 0755
    permissions ok
    ewww_image_optimizer_check_permissions()
    permissions for /home/reggsen1/public_html/huntinggearsuperstore/wp-content/ewww/optipng: 0755
    permissions ok
    ewww_image_optimizer_settings_script()
    ewww_image_optimizer_bulk_script()
    ewww_image_optimizer_webp_script()
    ewww_image_optimizer_notice_utils()
    ewww_image_optimizer_exec_check()
    disable_functions:
    suhosin_blacklist:
    ewww_image_optimizer_safemode_check()
    safe_mode =
    ewww_image_optimizer_skip_tools()
    enabled: jpegtran
    enabled: optipng
    enabled: gifsicle
    ewww_image_optimizer_path_check()
    ewww_image_optimizer_find_nix_binary()
    found /home/reggsen1/public_html/huntinggearsuperstore/wp-content/ewww/jpegtran, testing…
    ewww_image_optimizer_md5check()
    /home/reggsen1/public_html/huntinggearsuperstore/wp-content/ewww/jpegtran: 21d8046e07cb298dfd2f3b1e321c67c378a4d35fa8adc3521acc42b5b8088d64
    checksum verified, binary is intact
    ewww_image_optimizer_mimetype()
    testing mimetype: /home/reggsen1/public_html/huntinggearsuperstore/wp-content/ewww/jpegtran
    ewww_image_optimizer_find_nix_binary()
    ewww_image_optimizer_tool_found()
    testing case: f at file
    file: magic file from /etc/magic:/usr/share/misc/magic
    file binary found
    file command: /home/reggsen1/public_html/huntinggearsuperstore/wp-content/ewww/jpegtran: ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), statically linked, for GNU/Linux 2.6.18, not stripped
    ewww_image_optimizer_tool_found()
    testing case: j at /home/reggsen1/public_html/huntinggearsuperstore/wp-content/ewww/jpegtran
    /home/reggsen1/public_html/huntinggearsuperstore/wp-content/ewww/jpegtran: Independent JPEG Group’s JPEGTRAN, version 9b 17-Jan-2016
    optimizer found
    defining EWWW_IMAGE_OPTIMIZER_JPEGTRAN
    ewww_image_optimizer_find_nix_binary()
    found /home/reggsen1/public_html/huntinggearsuperstore/wp-content/ewww/optipng, testing…
    ewww_image_optimizer_md5check()
    /home/reggsen1/public_html/huntinggearsuperstore/wp-content/ewww/optipng: 853ca5936a2dd92a17b3518fd55db6be35e1b2bebfabca3949c34700072e08b8
    checksum verified, binary is intact
    ewww_image_optimizer_mimetype()
    testing mimetype: /home/reggsen1/public_html/huntinggearsuperstore/wp-content/ewww/optipng
    ewww_image_optimizer_find_nix_binary()
    ewww_image_optimizer_tool_found()
    testing case: f at file
    file: magic file from /etc/magic:/usr/share/misc/magic
    file binary found
    file command: /home/reggsen1/public_html/huntinggearsuperstore/wp-content/ewww/optipng: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, for GNU/Linux 2.6.9, not stripped
    ewww_image_optimizer_tool_found()
    testing case: o at /home/reggsen1/public_html/huntinggearsuperstore/wp-content/ewww/optipng
    /home/reggsen1/public_html/huntinggearsuperstore/wp-content/ewww/optipng: OptiPNG version 0.7.6
    optimizer found
    defining EWWW_IMAGE_OPTIMIZER_OPTIPNG
    ewww_image_optimizer_find_nix_binary()
    found /home/reggsen1/public_html/huntinggearsuperstore/wp-content/ewww/gifsicle, testing…
    ewww_image_optimizer_md5check()
    /home/reggsen1/public_html/huntinggearsuperstore/wp-content/ewww/gifsicle: deea065a91c8429edecf42ccef78636065f7ae0dad867df7696128c6711e4735
    checksum verified, binary is intact
    ewww_image_optimizer_mimetype()
    testing mimetype: /home/reggsen1/public_html/huntinggearsuperstore/wp-content/ewww/gifsicle
    ewww_image_optimizer_find_nix_binary()
    ewww_image_optimizer_tool_found()
    testing case: f at file
    file: magic file from /etc/magic:/usr/share/misc/magic
    file binary found
    file command: /home/reggsen1/public_html/huntinggearsuperstore/wp-content/ewww/gifsicle: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, for GNU/Linux 2.6.9, not stripped
    ewww_image_optimizer_tool_found()
    testing case: g at /home/reggsen1/public_html/huntinggearsuperstore/wp-content/ewww/gifsicle
    /home/reggsen1/public_html/huntinggearsuperstore/wp-content/ewww/gifsicle: LCDF Gifsicle 1.87
    optimizer found
    defining EWWW_IMAGE_OPTIMIZER_GIFSICLE
    using: /home/reggsen1/public_html/huntinggearsuperstore/wp-content/ewww/jpegtran
    using: /home/reggsen1/public_html/huntinggearsuperstore/wp-content/ewww/optipng
    using: /home/reggsen1/public_html/huntinggearsuperstore/wp-content/ewww/gifsicle
    defining EWWW_IMAGE_OPTIMIZER_PNGOUT
    defining EWWW_IMAGE_OPTIMIZER_PNGQUANT
    defining EWWW_IMAGE_OPTIMIZER_WEBP
    ewww_image_optimizer_options()
    ABSPATH: /home/reggsen1/public_html/huntinggearsuperstore/
    WP_CONTENT_DIR: /home/reggsen1/public_html/huntinggearsuperstore/wp-content
    home url: http://huntinggearsuperstore.com
    site url: http://huntinggearsuperstore.com
    ewww_image_optimizer_savings()
    querying savings for single site
    query to be performed: SELECT SUM(orig_size-image_size) FROM wp_o2fk9v4_ewwwio_images
    savings found: 150292216
    ewww_image_optimizer_install_paths()
    CPU architecture: x86_64
    generated paths:
    /home/reggsen1/public_html/huntinggearsuperstore/wp-content/plugins/ewww-image-optimizer/binaries/jpegtran-linux
    /home/reggsen1/public_html/huntinggearsuperstore/wp-content/plugins/ewww-image-optimizer/binaries/optipng-linux
    /home/reggsen1/public_html/huntinggearsuperstore/wp-content/plugins/ewww-image-optimizer/binaries/gifsicle-linux
    /home/reggsen1/public_html/huntinggearsuperstore/wp-content/plugins/ewww-image-optimizer/binaries/pngquant-linux
    /home/reggsen1/public_html/huntinggearsuperstore/wp-content/plugins/ewww-image-optimizer/binaries/cwebp-linux
    /home/reggsen1/public_html/huntinggearsuperstore/wp-content/ewww/jpegtran
    /home/reggsen1/public_html/huntinggearsuperstore/wp-content/ewww/optipng
    /home/reggsen1/public_html/huntinggearsuperstore/wp-content/ewww/gifsicle
    /home/reggsen1/public_html/huntinggearsuperstore/wp-content/ewww/pngquant
    /home/reggsen1/public_html/huntinggearsuperstore/wp-content/ewww/cwebp
    ewww_image_optimizer_skip_tools()
    enabled: jpegtran
    enabled: optipng
    enabled: gifsicle
    ewww_image_optimizer_tool_found()
    testing case: j at /home/reggsen1/public_html/huntinggearsuperstore/wp-content/ewww/jpegtran
    /home/reggsen1/public_html/huntinggearsuperstore/wp-content/ewww/jpegtran: Independent JPEG Group’s JPEGTRAN, version 9b 17-Jan-2016
    optimizer found
    ewww_image_optimizer_tool_found()
    testing case: o at /home/reggsen1/public_html/huntinggearsuperstore/wp-content/ewww/optipng
    /home/reggsen1/public_html/huntinggearsuperstore/wp-content/ewww/optipng: OptiPNG version 0.7.6
    optimizer found
    ewww_image_optimizer_tool_found()
    testing case: g at /home/reggsen1/public_html/huntinggearsuperstore/wp-content/ewww/gifsicle
    /home/reggsen1/public_html/huntinggearsuperstore/wp-content/ewww/gifsicle: LCDF Gifsicle 1.87
    optimizer found
    ewww_image_optimizer_safemode_check()
    safe_mode =
    ewww_image_optimizer_exec_check()
    disable_functions:
    suhosin_blacklist:
    ewww_image_optimizer_gd_support()
    GD found, supports:
    GD Version: bundled (2.1.0 compatible)
    FreeType Support: 1
    FreeType Linkage: with freetype
    T1Lib Support:
    GIF Read Support: 1
    GIF Create Support: 1
    JPEG Support: 1
    PNG Support: 1
    WBMP Support: 1
    XPM Support: 1
    XBM Support: 1
    WebP Support:
    JIS-mapped Japanese Font Support:
    ewww_image_optimizer_gmagick_support()
    ewww_image_optimizer_imagick_support()
    ewww_image_optimizer_find_nix_binary()
    ewww_image_optimizer_tool_found()
    testing case: f at file
    file: magic file from /etc/magic:/usr/share/misc/magic
    file binary found
    ewww_image_optimizer_find_nix_binary()
    ewww_image_optimizer_tool_found()
    testing case: n at nice
    nice: 0
    nice found
    remove metadata: on
    jpg level: 10
    png level: 10
    gif level: 10
    pdf level: 0
    bulk delay: 0
    optipng level: 2
    pngout disabled: yes
    pngout level: 2
    ewww_image_optimizer_jpg_quality()
    parallel optimization: off
    background optimization: on
    scheduled optimization: off
    include media library: on
    max media dimensions: 0 x 0
    max other dimensions: 0 x 0
    resize existing images: off
    ewww_image_optimizer_get_image_sizes()
    Array ( [0] => thumbnail [1] => medium [2] => medium_large [3] => large [4] => shop_thumbnail [5] => shop_catalog [6] => shop_single [7] => rpwe-thumbnail )
    Array ( [thumbnail] => Array ( [width] => 150 [height] => 150 ) [medium] => Array ( [width] => 300 [height] => 300 ) [medium_large] => Array ( [width] => 768 [height] => 9999 ) [large] => Array ( [width] => 600 [height] => 600 ) [shop_thumbnail] => Array ( [width] => 270 [height] => 400 ) [shop_catalog] => Array ( [width] => 270 [height] => 400 ) [shop_single] => Array ( [width] => 510 [height] => 652 ) [rpwe-thumbnail] => Array ( [width] => 45 [height] => 45 ) [pdf-full] => Array ( [width] => 99999 [height] => 99999 ) )
    disabled resizes:
    thumbnail: optimization=enabled creation=enabled
    medium: optimization=enabled creation=enabled
    medium_large: optimization=enabled creation=enabled
    large: optimization=enabled creation=enabled
    shop_thumbnail: optimization=enabled creation=enabled
    shop_catalog: optimization=enabled creation=enabled
    shop_single: optimization=enabled creation=enabled
    rpwe-thumbnail: optimization=enabled creation=enabled
    pdf-full: optimization=enabled creation=enabled
    skip images smaller than: 0 bytes
    skip PNG images larger than: 0 bytes
    exclude originals from lossy: off
    exclude originals from metadata removal: off
    use system binaries: no
    delete originals: off
    jpg2png: off
    ewww_image_optimizer_jpg_background()
    ewww_image_optimizer_jpg_background()
    png2jpg: off
    gif2png: on
    webp conversion: off
    forced webp: off
    alt webp rewriting: off
    max_execution_time: 60
    ewww_image_optimizer_stl_check()
    ewww_image_optimizer_safemode_check()
    safe_mode =
    disable_functions =
    reggsen1
    EWWW IO version: 321.0
    WP version: 4.7
    PHP version: 50621
    libxml version: 20902

    Plugin Author Shane Bishop

    (@nosilver4u)

    Yup, that’s what I was looking for. Still trying to think what we could be running into here. Once an image has been optimized, it should NOT show up in subsequent scans, UNLESS you are using the Force Re-optimize checkbox. Have you been checking that box when you scan?

    Thread Starter REGGSenterprises

    (@cruisenewsandreviews)

    No, I haven’t been using the Force Re-optimize although I did try it once to see if that would optimize these images where it says they already were. Another interesting note is that when I run GTmetrix, to see my page speed and loading etc, it also says those images are not optimized. That’s what alerted me to the issue.

    Thread Starter REGGSenterprises

    (@cruisenewsandreviews)

    I see there was an update to the plugin. Does that have anything to do with fixing my issue?

    Plugin Author Shane Bishop

    (@nosilver4u)

    It has several fixes, so it’s possible it might resolve the issues with subsequent scan finding the same images.

    However, the issues with gtmetrix could be something entirely different, so I ran your site on gtmetrix myself to see what it said. The savings there are really minimal, not something I’d be worried about. Their docs say they use libjpeg-turbo, while EWWW uses stock libjpeg, so it is entirely possible for them to have different compression results.

    I would check the ewwwio_images table manually for some of those images and see if you can confirm that those specific images are listed there. If they are, you already have metadata removal enabled, so I don’t imagine you’ll be able to compress them any further with EWWW unless you use the API. The API uses mozjpeg, which nearly always beats every other JPG encoder out there in lossless mode.

    Thread Starter REGGSenterprises

    (@cruisenewsandreviews)

    The update didn’t change anything as far as my issue. I’m not quite understanding your response above but I believe you are saying to just ignore both the GTmetrix results and the EWWW saying I have 9,515 images to optimize. I realize that the compression may not create much if any more efficiency but just the fact that both of them say that the exact same images need to be optimized tells me something is wrong especially if the each use a different tool to determine the need to optimize. When something shows up as being wrong then you never know what is not showing up that is wrong.

    Plugin Author Shane Bishop

    (@nosilver4u)

    I think the gtmetrix results are safe to ignore IF we can figure out why EWWW is still wanting to re-optimize those 9,515 images. I certainly don’t want to ignore the fact that EWWW is having trouble there. It’s entirely possible the images are fully optimized, but why in the world is EWWW not recognizing that fact? That’s what I want to focus on (we can worry about gtmetrix once we have that sorted).

    The first question then, is did you re-optimize all the images since the update?

    If not, try that, and see if it cleans things up.
    If that still didn’t work, here’s the next thing we can do:

    1. In the ewww-image-optimizer/ folder on your web-server, look for a file named debug.log and delete it.
    2. turn on debugging (if it isn’t still)
    3. Run a Scan from the Bulk Optimize, but don’t start optimizing when it finishes.
    4. Look in the plugin folder again, there should be a new debug.log file.
    5. Send me the debug.log file via https://ewww.io/contact-us/

    Thread Starter REGGSenterprises

    (@cruisenewsandreviews)

    I did try after the update and the number is now 9510. Don’t know if 5 were actually optimized or purged off.
    Going to do 1 through 5 now.

Viewing 15 replies - 1 through 15 (of 38 total)

The topic ‘Images not optimizing’ is closed to new replies.