Sorry that I've had to do it like this, but it seemed like the easiest way.

This patch contains fixes for:
#374100: Remove undesired line
#709560: remove bottom and right line in reflection
#788380: warning: imagecopy(): supplied argument is not a valid Image resource
#401694: $image->resource, not $image->res.

It also allows reflections of images onto a transparent background, and images that have alpha transparency themselves.

Comments

drupalgideon’s picture

One other bug (typo) I presume -

imageapi.inc lin 176 reads

    imagedestryoy($background);

Surely should be -

    imagedestroy($background);
akalata’s picture

StatusFileSize
new423 bytes

Patch fails for me with a fresh download of 6.x-1.1.

[code]
cache_effects-lots.patch
patching file imageapi.inc
patching file imagecache_effects.info
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file imagecache_effects.info.rej
patching file imagecache_effects.module
patching file imagecache_effects_reflection.inc
[/code]

Actual changes to the module appear to be working fine.