Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
attiks CreditAttribution: attiks commentedI 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.
Comment #2
inthra.onsap CreditAttribution: inthra.onsap commentedI 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?
Comment #3
AmiGator CreditAttribution: AmiGator commentedSame error. but line 239 in image_optimize_effect.module