WordPress.org

Forums

EWWW Image Optimizer
[resolved] jpegtran not working (5 posts)

  1. tbrockdorf
    Member
    Posted 2 years ago #

    I tried to download jpegtran automatically. It failed. Automatic update message "jpegtran was not installed, check permissions on the wp-content/ewww folder." The permissions are the same as the optipgn and gifsicle, which installed and worked.

    I downloaded jpegtran manually, placed it in the directory with the same permissions as optipgn and gifsicle and it is not recognized in the plugin.

    Any ideas?

    jpegtran: MISSING Install automatically | manually
    optipng: OK version: OptiPNG version 0.7.4
    gifsicle: OK version: LCDF Gifsicle 1.68
    Graphics libraries (only used for conversion, not optimization): GD: OK   Imagemagick 'convert': OK
    safe mode: Off  exec(): OK  shell_exec(): OK  
    Only need one of these: finfo: OK  getimagesize(): OK  mime_content_type(): OK

    Debug Info

    jpegtran path:
    optipng path: /services3/webpages/util/t/o/toddmb.site.aplus.net/betterthanaverageblog.com/public/wp-content/ewww/optipng
    gifsicle path: /services3/webpages/util/t/o/toddmb.site.aplus.net/betterthanaverageblog.com/public/wp-content/ewww/gifsicle
    pngout path:
    disabled functions: phpinfo
    gifsicle permissions: 0755
    optipng permissions: 0755
    wp-content/ewww permissions: 0755
    user: betterthanaverageblog.com
    Operating environment: Linux 2.6.31.12.With.Authcache+Pxeboot_Cmdline_4096 #1 SMP Mon Dec 13 21:56:57 EST 2010 i686

    http://wordpress.org/extend/plugins/ewww-image-optimizer/

  2. nosilver4u
    Member
    Plugin Author

    Posted 2 years ago #

    try downloading this one:
    http://www.shanebishop.net/uploads/jpegtran

    When you upload it, rename it to jpegtran-custom and adjust the permissions to match optipng and gifsicle like you did with the other one.

  3. tbrockdorf
    Member
    Posted 2 years ago #

    Same result...still not seeing it. Is there a way to manually specify the jpegtran path?

  4. nosilver4u
    Member
    Plugin Author

    Posted 2 years ago #

    nope, it isn't necessary anymore, it checks both those locations automatically. If it doesn't detect it, it usually means that the binary can't run on your server. I've got one other person having trouble with jpegtran too, and I've been trying to figure that one out.

    The fact that optipng and gifsicle work is encouraging, but I need to try and find a way to make jpegtran truly 'static' (no dependencies). It doesn't seem to be quite as simple as the others.

  5. nosilver4u
    Member
    Plugin Author

    Posted 2 years ago #

    Ok, after much research, it isn't possible to make jpegtran any more static than it is. If you have ssh/shell access we can try and do some digging to get more information on why it isn't working.

    Otherwise, there's a couple other things you can check. First, you can ask your webhost if they have jpegtran installed on your server. If not, also ask them if they can test the jpegtran binary installed in wp-content/ewww/ to see if it runs properly.

    Something like this should do it:
    /services3/webpages/util/t/o/toddmb.site.aplus.net/betterthanaverageblog.com/public/wp-content/ewww/jpegtran -v

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