When I tried to enable watermark I upload a .PNG image then click yes on the watermark all images uploaded, I am usng GD and I get an error Undefined Function watermark.php when someone tries to upload. I disabled the watermark again until I get this error sorted out.
Changed to image magik and the error went away but it still does not watermark the image. The PNG shows up in the settings but it doesn't show the watermark.
Works perfectly for me in ImageMagick. The odd looking thing in the lower right of the image in the attached screenshot is my test watermark, and both the image and the watermark are PNGs.
It doesn't work in GD, which is why it says "ImageMagick only" below the option.
They are jpg images, have tried on over 20, both as admin and as a user. Did see something in the apache error log.
composite: unable to open image `/home/vhosts/wwwroot/showyour.com/photoswap/attachments/e196d968f2f8a9af9564998fd3eee9f2.jpg': No such file or directory. composite: missing an image filename `/home/vhosts/wwwroot/showyour.com/photoswap/attachments/e196d968f2f8a9af9564998fd3eee9f2.jpg'. However the directory does exist and has 777 for permissions.
This must mean that only ImageMagick's convert command is installed, not composite. Composite is needed for watermarks. You should have 'composite' in the same path where you have 'convert'.
It's putting the water mark but look how it blurs it. Any suggestions on what I should do to the water mark to make it come out clearer. It looks nice in the control panel but it's blured on the image. Please see the attachment.
I'm using a transparent PNG. If you used a transparent GIF you could have ugliness due to GIF having a clunky sort of transparency without alpha layers.
From your screenshot I'm not sure there's anything wrong with yours, things simply don't show up as clearly on a picture background as on a plain white background.
I saw a feature in Coppermin (I know ugly word) but it allows you to type the text that you want to use as a water mark rather then an image. I use a png and it comes out bad just like this. But when I tested with text it came out great. Ever thought of doing that?
0/5
1
2
3
4
5
This thread is closed, so you cannot post a reply.
Comments on WaterMark Problem
Experienced
Usergroup: Member
Joined: Jun 11, 2006
Total Topics: 15
Total Comments: 55
When I tried to enable watermark I upload a .PNG image then click yes on the watermark all images uploaded, I am usng GD and I get an error Undefined Function watermark.php when someone tries to upload. I disabled the watermark again until I get this error sorted out.
Experienced
Usergroup: Member
Joined: Jun 11, 2006
Total Topics: 15
Total Comments: 55
Changed to image magik and the error went away but it still does not watermark the image. The PNG shows up in the settings but it doesn't show the watermark.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Works perfectly for me in ImageMagick. The odd looking thing in the lower right of the image in the attached screenshot is my test watermark, and both the image and the watermark are PNGs.
It doesn't work in GD, which is why it says "ImageMagick only" below the option.
Attached Files:
Experienced
Usergroup: Member
Joined: Jun 11, 2006
Total Topics: 15
Total Comments: 55
Still not working, even upgraded to the latest version. Enclosed is a snap shot of my settings.
Attached Files:
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
I can only guess the images you're applying to are some odd image type that's unsupported. Works with jpeg and png.
Experienced
Usergroup: Member
Joined: Jun 11, 2006
Total Topics: 15
Total Comments: 55
They are jpg images, have tried on over 20, both as admin and as a user. Did see something in the apache error log.
composite: unable to open image `/home/vhosts/wwwroot/showyour.com/photoswap/attachments/e196d968f2f8a9af9564998fd3eee9f2.jpg': No such file or directory.
composite: missing an image filename `/home/vhosts/wwwroot/showyour.com/photoswap/attachments/e196d968f2f8a9af9564998fd3eee9f2.jpg'.
However the directory does exist and has 777 for permissions.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Is the attachments category tree on or off?
Experienced
Usergroup: Member
Joined: Jun 11, 2006
Total Topics: 15
Total Comments: 55
It on, I have a ton of cats and images
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
This must mean that only ImageMagick's convert command is installed, not composite. Composite is needed for watermarks. You should have 'composite' in the same path where you have 'convert'.
Experienced
Usergroup: Member
Joined: Jun 11, 2006
Total Topics: 15
Total Comments: 55
They are both in /usr/bin
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Finally figured it out. To make it work with the attachments tree, open addeditfuncs.php and change to
Experienced
Usergroup: Member
Joined: Jun 11, 2006
Total Topics: 15
Total Comments: 55
That did it, now to get a watermark that can be read, it came out all blured.
Experienced
Usergroup: Member
Joined: Jun 11, 2006
Total Topics: 15
Total Comments: 55
It's putting the water mark but look how it blurs it. Any suggestions on what I should do to the water mark to make it come out clearer. It looks nice in the control panel but it's blured on the image. Please see the attachment.
Attached Files:
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Mine looks normal: www.wsnforum.com/galleryuse.../Water_Hitting_Log-46.html (bottom right)... the reduced size version is a little blurrier than the full size click through I suppose due to the resizing.
I'm using a transparent PNG. If you used a transparent GIF you could have ugliness due to GIF having a clunky sort of transparency without alpha layers.
From your screenshot I'm not sure there's anything wrong with yours, things simply don't show up as clearly on a picture background as on a plain white background.
Experienced
Usergroup: Member
Joined: Jun 11, 2006
Total Topics: 15
Total Comments: 55
I saw a feature in Coppermin (I know ugly word) but it allows you to type the text that you want to use as a water mark rather then an image. I use a png and it comes out bad just like this. But when I tested with text it came out great. Ever thought of doing that?