• Resolved walletfiber

    (@walletfiber)


    Hi their

    I am having an issue with uploading .PNG files.
    Every-time i attempt to upload a .png file i receive a .HTTP error.
    I went ahead and disabled your plugin, and the issue stopped.
    I am using the latest version of your plugin.
    I also disabled the ‘enable PNG to JPG conversion’ but the issue still persists. Also disabled the lossy png conversion. the issue continued.
    the issue appears to be coming from the plugin itself.

    I am using BJ lazy load plugin, could this possibly conflict with your plugin ?

    DEBUG INFO:

    walletfi
    EWWW IO version: 250.0
    WP version: 4.3
    PHP version: 50428
    ewww_image_optimizer_preinit()
    ewww_image_optimizer_gallery_support()
    ewww_image_optimizer_admin_init()
    ewww_image_optimizer_init()
    ewww_image_optimizer_cloud_init()
    ewww_image_optimizer_exec_init()
    ewww_image_optimizer_cron_setup()
    ewww_image_optimizer_cron_setup()
    ewww_image_optimizer_tool_init()
    ewww_image_optimizer_install_tools()
    Checking/Installing tools in /home/walletfi/public_html/wp-content/ewww/
    wp-content/ewww permissions: 0755
    ewww_image_optimizer_install_paths()
    CPU architecture: x86_64
    generated paths:
    /home/walletfi/public_html/wp-content/plugins/ewww-image-optimizer/jpegtran-linux64
    /home/walletfi/public_html/wp-content/plugins/ewww-image-optimizer/optipng-linux
    /home/walletfi/public_html/wp-content/plugins/ewww-image-optimizer/gifsicle-linux
    /home/walletfi/public_html/wp-content/plugins/ewww-image-optimizer/pngquant-linux
    /home/walletfi/public_html/wp-content/plugins/ewww-image-optimizer/cwebp-linux864
    /home/walletfi/public_html/wp-content/ewww/jpegtran
    /home/walletfi/public_html/wp-content/ewww/optipng
    /home/walletfi/public_html/wp-content/ewww/gifsicle
    /home/walletfi/public_html/wp-content/ewww/pngquant
    /home/walletfi/public_html/wp-content/ewww/cwebp
    64-bit linux detected while installing tools
    ewww_image_optimizer_md5check()
    /home/walletfi/public_html/wp-content/ewww/jpegtran-alt: 8e4a09bb04ba001f5f16651ae8594f7f
    md5sum verified, binary is intact
    ewww_image_optimizer_md5check()
    /home/walletfi/public_html/wp-content/ewww/cwebp-alt: 361c019b0a31d208c64b54bd813a3f76
    md5sum verified, binary is intact
    Linux/UNIX style OS, checking permissions
    jpegtran permissions: 0755
    gifsicle permissions: 0755
    optipng permissions: 0755
    pngquant permissions: 0755
    webp permissions: 0755
    ewww_image_optimizer_settings_script()
    ewww_image_optimizer_bulk_script()
    ewww_image_optimizer_aux_images_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_path_check()
    found /home/walletfi/public_html/wp-content/ewww/jpegtran, testing…
    ewww_image_optimizer_md5check()
    /home/walletfi/public_html/wp-content/ewww/jpegtran: 47c39feae0712f2996c61e5ae639b706
    md5sum verified, binary is intact
    ewww_image_optimizer_mimetype()
    testing mimetype: /home/walletfi/public_html/wp-content/ewww/jpegtran
    ewww_image_optimizer_find_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/walletfi/public_html/wp-content/ewww/jpegtran: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped
    ewww_image_optimizer_tool_found()
    testing case: j at /home/walletfi/public_html/wp-content/ewww/jpegtran
    /home/walletfi/public_html/wp-content/ewww/jpegtran: Independent JPEG Group’s JPEGTRAN, version 9a 19-Jan-2014
    optimizer found
    found /home/walletfi/public_html/wp-content/ewww/optipng, testing…
    ewww_image_optimizer_md5check()
    /home/walletfi/public_html/wp-content/ewww/optipng: 31698da4f5ca00b35e910c77acae65bb
    md5sum verified, binary is intact
    ewww_image_optimizer_mimetype()
    testing mimetype: /home/walletfi/public_html/wp-content/ewww/optipng
    ewww_image_optimizer_find_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/walletfi/public_html/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/walletfi/public_html/wp-content/ewww/optipng
    /home/walletfi/public_html/wp-content/ewww/optipng: OptiPNG version 0.7.5
    optimizer found
    found /home/walletfi/public_html/wp-content/ewww/gifsicle, testing…
    ewww_image_optimizer_md5check()
    /home/walletfi/public_html/wp-content/ewww/gifsicle: 40ceed9c36838b5b9ccc505ab224d90f
    md5sum verified, binary is intact
    ewww_image_optimizer_mimetype()
    testing mimetype: /home/walletfi/public_html/wp-content/ewww/gifsicle
    ewww_image_optimizer_find_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/walletfi/public_html/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/walletfi/public_html/wp-content/ewww/gifsicle
    /home/walletfi/public_html/wp-content/ewww/gifsicle: LCDF Gifsicle 1.87
    optimizer found
    using: /home/walletfi/public_html/wp-content/ewww/jpegtran
    using: /home/walletfi/public_html/wp-content/ewww/optipng
    using: /home/walletfi/public_html/wp-content/ewww/gifsicle
    defining EWWW_IMAGE_OPTIMIZER_JPEGTRAN
    defining EWWW_IMAGE_OPTIMIZER_OPTIPNG
    defining EWWW_IMAGE_OPTIMIZER_GIFSICLE
    defining EWWW_IMAGE_OPTIMIZER_PNGOUT
    defining EWWW_IMAGE_OPTIMIZER_PNGQUANT
    defining EWWW_IMAGE_OPTIMIZER_WEBP
    ewww_image_optimizer_options()
    ABSPATH: /home/walletfi/public_html/
    home url: https://walletfiber.com
    site url: https://walletfiber.com
    ewww_image_optimizer_savings()
    querying savings for single site
    query to be performed: SELECT SUM(orig_size-image_size) FROM wp_nd2r9u6_ewwwio_images
    savings found: 18224890
    ewww_image_optimizer_install_paths()
    CPU architecture: x86_64
    generated paths:
    /home/walletfi/public_html/wp-content/plugins/ewww-image-optimizer/jpegtran-linux64
    /home/walletfi/public_html/wp-content/plugins/ewww-image-optimizer/optipng-linux
    /home/walletfi/public_html/wp-content/plugins/ewww-image-optimizer/gifsicle-linux
    /home/walletfi/public_html/wp-content/plugins/ewww-image-optimizer/pngquant-linux
    /home/walletfi/public_html/wp-content/plugins/ewww-image-optimizer/cwebp-linux864
    /home/walletfi/public_html/wp-content/ewww/jpegtran
    /home/walletfi/public_html/wp-content/ewww/optipng
    /home/walletfi/public_html/wp-content/ewww/gifsicle
    /home/walletfi/public_html/wp-content/ewww/pngquant
    /home/walletfi/public_html/wp-content/ewww/cwebp
    ewww_image_optimizer_tool_found()
    testing case: j at /home/walletfi/public_html/wp-content/ewww/jpegtran
    /home/walletfi/public_html/wp-content/ewww/jpegtran: Independent JPEG Group’s JPEGTRAN, version 9a 19-Jan-2014
    optimizer found
    ewww_image_optimizer_tool_found()
    testing case: o at /home/walletfi/public_html/wp-content/ewww/optipng
    /home/walletfi/public_html/wp-content/ewww/optipng: OptiPNG version 0.7.5
    optimizer found
    ewww_image_optimizer_tool_found()
    testing case: g at /home/walletfi/public_html/wp-content/ewww/gifsicle
    /home/walletfi/public_html/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
    JIS-mapped Japanese Font Support:
    ewww_image_optimizer_gmagick_support()
    ewww_image_optimizer_imagick_support()
    ewww_image_optimizer_find_binary()
    ewww_image_optimizer_tool_found()
    testing case: i at convert
    convert: sh: convert: command not found
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: i at /usr/bin/convert
    /usr/bin/convert: sh: /usr/bin/convert: No such file or directory
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: i at /usr/local/bin/convert
    /usr/local/bin/convert: sh: /usr/local/bin/convert: No such file or directory
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: i at /usr/gnu/bin/convert
    /usr/gnu/bin/convert: sh: /usr/gnu/bin/convert: No such file or directory
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: i at /usr/syno/bin/convert
    /usr/syno/bin/convert: sh: /usr/syno/bin/convert: No such file or directory
    tool not found
    ewww_image_optimizer_find_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_binary()
    ewww_image_optimizer_tool_found()
    testing case: n at nice
    nice: 0
    nice found
    cloud JPG: off
    cloud PNG: off
    PNG extra compress: off
    cloud GIF: off
    cloud fast lossy: off
    remove metadata: off
    lossy JPG: off
    lossy PNG: off
    bulk delay: 0
    optipng level: 2
    pngout level: 2
    scheduled optimization: off
    deferred optimization: off
    disable auto-optimization: off
    include media library: off
    ewww_image_optimizer_get_image_sizes()
    Array ( [thumbnail] => Array ( [width] => 150 [height] => 150 ) [medium] => Array ( [width] => 300 [height] => 300 ) [large] => Array ( [width] => 1024 [height] => 1024 ) [cb-80-60] => Array ( [width] => 80 [height] => 60 ) [cb-282-232] => Array ( [width] => 282 [height] => 232 ) [cb-300-200] => Array ( [width] => 300 [height] => 200 ) [cb-300-250] => Array ( [width] => 300 [height] => 250 ) [cb-360-240] => Array ( [width] => 360 [height] => 240 ) [cb-480-240] => Array ( [width] => 480 [height] => 240 ) [cb-430-270] => Array ( [width] => 430 [height] => 270 ) [cb-400-250] => Array ( [width] => 400 [height] => 250 ) [cb-600-250] => Array ( [width] => 600 [height] => 250 ) [cb-600-400] => Array ( [width] => 600 [height] => 400 ) [cb-750-400] => Array ( [width] => 750 [height] => 400 ) [cb-1200-520] => Array ( [width] => 1200 [height] => 520 ) [cb-1400-700] => Array ( [width] => 1400 [height] => 700 ) [post-thumbnail] => Array ( [width] => 125 [height] => 125 ) )
    disabled resizes:
    thumbnail: optimization=enabled creation=enabled
    medium: optimization=enabled creation=enabled
    large: optimization=enabled creation=enabled
    cb-80-60: optimization=enabled creation=enabled
    cb-282-232: optimization=enabled creation=enabled
    cb-300-200: optimization=enabled creation=enabled
    cb-300-250: optimization=enabled creation=enabled
    cb-360-240: optimization=enabled creation=enabled
    cb-480-240: optimization=enabled creation=enabled
    cb-430-270: optimization=enabled creation=enabled
    cb-400-250: optimization=enabled creation=enabled
    cb-600-250: optimization=enabled creation=enabled
    cb-600-400: optimization=enabled creation=enabled
    cb-750-400: optimization=enabled creation=enabled
    cb-1200-520: optimization=enabled creation=enabled
    cb-1400-700: optimization=enabled creation=enabled
    post-thumbnail: 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
    jpegtran disabled: no
    optipng disabled: no
    pngout disabled: yes
    gifsicle disabled: no
    webp conversion: off
    alt webp rewriting: off
    jpg2png: off
    ewww_image_optimizer_jpg_background()
    ewww_image_optimizer_jpg_background()
    ewww_image_optimizer_jpg_quality()
    png2jpg: off
    gif2png: off
    max_execution_time: 30

    Thanks!

    https://www.ads-software.com/plugins/ewww-image-optimizer/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author nosilver4u

    (@nosilver4u)

    Looks like it is a combination of two factors. First, PNG images are much slower than others to optimize, so it isn’t uncommon to have that sort of issue. That is made worse by the fact that WordPress is generating 17 resizes per upload, and each of those need to be optimized too.

    There are two things I would recommend:
    1. look through the resize list and see if there are any that you aren’t using. If you don’t know, or don’t know how to find out, then don’t worry about it. It isn’t worth messing up if you’re not sure.

    2. Turn on deferred optimization.

    Thread Starter walletfiber

    (@walletfiber)

    Thanks, I went ahead and turned on Deferred optimization and that seemed to do the trick!
    I am little confused as to what this option does, could you clarify ?
    Now that everything is working can i enable PNG to JPG conversion ?

    Thanks!

    Plugin Author nosilver4u

    (@nosilver4u)

    You probably could, but I’d keep an eye on your images to make sure they are still being optimized.
    What that option does is it delays the optimization during upload and simply adds the image into a queue. The optimization will then be triggered within an hour by wp_cron. I don’t know that PNG to JPG would cause too much extra optimization time, but JPG to PNG definitely causes huge delays, FYI.

    Thread Starter walletfiber

    (@walletfiber)

    Does your plugin work well with the Imsanity plugin ?

    Thanks

    Plugin Author nosilver4u

    (@nosilver4u)

    Indeed it does!

    Thread Starter walletfiber

    (@walletfiber)

    Thanks so much for all your support!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘issue with uploading .png files.’ is closed to new replies.