The only way that I was able to get this module to work (on a clean install of 7.15) was by installing http://drupal.org/project/imagemagick, enabling it and setting my config as per the attached image. Without http://drupal.org/project/imagemagick I was getting the interminable PDO Exception errors, it just didn't seem to work with the default of GD.

I am happy to report however, that after extensive testing, this solution DOES indeed create the best/smallest optimized files for jpg and png versus GD alone or the abovementioned Imagemagick module alone.

Thank you for your work on this.

CommentFileSizeAuthor
imageapi_optimize.png49.73 KBnedwardss

Comments

jcisio’s picture

This module should work with the core GD2 toolkit. If it does not, then it is a bug. Does it work when you choose GD2 as the default image toolkit?

protools’s picture

look in drupal log any error ?

nedwardss’s picture

Priority: Normal » Minor
Status: Active » Closed (works as designed)

I apologize for posting this issue. I just went back and tested again with ImageAPIOptimize as my image processing toolkit and in ImageAPI Optimize Base Toolkit as GD2, and it worked without error. It must've been something with all of my local testing. I'm marking as closed (works as designed) though I wish I could mark as closed (issue was not an issue, poster failure).
My mistake.

protools’s picture

Can you tell me, what you server configuration: OS Linux ? I try with FreeBSD and MAC MAMP but can't make it work.

nedwardss’s picture

Ubuntu Linux 10.04, PHP 5.3

luksak’s picture

Status: Closed (works as designed) » Active

I am having the same issue. I do not have imageapi installed, thus using GD2. I am running on CentOS 6, PHP 5.3

jcisio’s picture

Status: Active » Closed (works as designed)

This is a non-issue issue. If you have a problem, please file a new issue with detail error messages. At least, this issue was for beta1, and the latest stable is 1.0, if you are still using the old version, please update first.

luksak’s picture

Status: Closed (works as designed) » Active

Forgot to run update.php. Sorry for the wrong post.

jcisio’s picture

Status: Active » Closed (works as designed)