Watermark GD Issue

jamo
Posts: 19
Joined: 2011-01-10 18:59

Watermark GD Issue

Post by jamo » 2011-09-06 18:09

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

User avatar
Fred
Site Admin
Posts: 491
Joined: 2010-02-15 12:10
Location: Armagh, Northern Ireland
Contact:

Re: Watermark GD Issue

Post by Fred » 2011-09-08 15:31

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);

jamo
Posts: 19
Joined: 2011-01-10 18:59

Re: Watermark GD Issue

Post by jamo » 2011-09-14 19:49

Fred your a gem thanks for that.

Jimmy

User avatar
Fred
Site Admin
Posts: 491
Joined: 2010-02-15 12:10
Location: Armagh, Northern Ireland
Contact:

Re: Watermark GD Issue

Post by Fred » 2011-09-15 00:28

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

Post Reply