Hello. I have enabled imagecache (6.x-2.0-beta10), image api (6.x-1.8), imagecache custom actions (6.x - 1.8) and imagecache effects (6x-1.1) in order to get image reflections.
I have added a new preset to add reflection to the upoloaded image (on cck imagefield).
The problem is it doesn't work. I get the next error in log:
imagecopymerge(): supplied argument is not a valid Image resource in .../sites/all/modules/imagecache_effects/imageapi.inc on line 149

and other same errors with imagedestroy(), and there isn't image generated.

I haven't found how to solve it.
Can some one help me?.

Comments

briantes’s picture

I have found the problem. There is a patch to change $image->res with $image->resource and something else.

After patching the module, now, there is another error in log:
imagejpeg(): 213 is not a valid Image resource in /usr/home/airalandalus/www/sites/all/modules/imageapi/imageapi_gd.module on line 66.

I don't know how to solve it.