Page 1 of 1

Watermark GD Issue

Posted: 2011-09-06 18:09
by jamo
Hi Fred, back again with a small issue regarding the thumbnail with watermark option in Kollection3 Pro.
I'm guessing this is a GD problem rather than a Kollection scripting problem. I am trying to use a png 24 image as the watermark image which has gradients in it (faded to transparent in places) however I'm getting solid blocks of overlay on the resulting image rather than a faded gradient effect.

Cant use imagemagick in this instance.

Anyone any idea?

Thanks

Jimmy

Re: Watermark GD Issue

Posted: 2011-09-08 15:31
by Fred
Just googled it a bit.

Se if you can find something like: imagealphablending(); somewhere in the code.

It seems like the proper syntax should be: imagealphablending($image, true);

Re: Watermark GD Issue

Posted: 2011-09-14 19:49
by jamo
Fred your a gem thanks for that.

Jimmy

Re: Watermark GD Issue

Posted: 2011-09-15 00:28
by Fred
Jimmy,
Would you write an article on how to fix this on the main site please.
You can upload the patched file to the main site as well.

Thanks