I already installed pngquant and imgmin.
I can type imgmin and pngquant in terminal.

But Drupal admin page still shows me this error.

User error: ImageMagick error 127: sh: imgmin: command not found in image_optimize_effect_imgmin() (line 237 of /data/docbase/coconuts-test/sites/all/modules/image_optimize_effect/image_optimize_effect.module).

Does anyone know how to fix this problem?

Comments

attiks’s picture

I assume your on unix/mac, can you try adding a debug stament (ex dpm($command);) after line 199 and try executing that in the terminal?

BTW: There's also a 2.x version that works like a drush extension, you can run into performance problems if used as an image style effect.

inthra.onsap’s picture

Status: Active » Closed (fixed)

I already figured out the problem.
You can see more detail. following link: https://drupal.org/node/2049095

I saw you said that "proformance problems if used image style effect".
Could you please give me more detail about that problem?

AmiGator’s picture

Same error. but line 239 in image_optimize_effect.module