Support » Plugin: EWWW Image Optimizer » Unsupported file type

  • Resolved kleinermann


    Hi there,

    I’ve just installed the EWWW plugin and two of the image tools (jpegtran and optipng). But it looks like the image tools are not recognised by the plugin, as i can see the following message next to the images in the media library:

    Unsupported file type
    jpegtran is missing

    I also keep getting the warning:

    EWWW Image Optimizer requires jpegtran, optipng or pngout, and gifsicle. You are missing: jpegtran, optipng. Please install via the Installation Instructions and update paths (if necessary) on the Settings Page.

    I have added the path to the image tools like this:


    And here is the debugging output:

    Debug information
    computed jpegtran path: /usr/bin/jpegtran
    jpegtran location (using 'which'):
    computed optipng path: /usr/bin/optipng
    optipng location (using 'which'):
    optipng version: OptiPNG 0.6.4: Advanced PNG optimizer.
    computed gifsicle path: gifsicle
    gifsicle location (using 'which'):
    gifsicle version:
    safe mode: Off
    Operating System: Linux
    exec(): enabled
    getimagesize(): OK
    mime_content_type(): OK

    I’m not very familiar with commandline. Is there anything i may have missed in the process?

Viewing 1 replies (of 1 total)
  • Plugin Author nosilver4u


    So, some questions. First, do you have root access on your server?
    Second, how did you ‘install’ optipng and jpegtran? Did you compile them from scratch, use apt-get, yum, etc?

    If you have root access, and installed them in /usr/bin like you say, then there should be no need to manually enter the paths. It would seem that your system is one of those odd ducks that produces no output with the ‘which’ command. If you go to a command line and type

    which ls

    what is the output?

    From the debug block you posted, it would appear the tools are probably working just fine, since optipng can output it’s version information. You should be able to just check the box on the settings to skip the utility checks, and go on your merry way.

Viewing 1 replies (of 1 total)
  • The topic ‘Unsupported file type’ is closed to new replies.