SMFHacks.com

SMF Gallery Pro => Support => Topic started by: Rafferty on November 02, 2007, 09:35:55 am

Title: Watermark
Post by: Rafferty on November 02, 2007, 09:35:55 am
I just recently wanted to add a watermark but i'm getting nothing, not even the text. Any tips?
Title: Re: Watermark
Post by: SMFHacks on November 03, 2007, 09:26:24 am
It might be due to this funciton check your error log
http://php.net/imageftbbox

Quote
    Note: This function requires GD 2.0.1 or later (2.0.28 or later is recommended).

    Note: This function is only available if PHP is compiled with freetype support (--with-freetype-dir=DIR)
I will look at offering two choices
Title: Re: Watermark
Post by: Rafferty on November 03, 2007, 09:56:43 am
No such errors in error log
Title: Re: Watermark
Post by: Ronlx2 on November 14, 2007, 09:53:55 am
I lost my watermark also after ugrading to the latest version. No errors showing.

I removed the newest version and went all the way back to version 1.1.3 the original and still no watermark.
Title: Re: Watermark
Post by: Ronlx2 on November 14, 2007, 02:49:41 pm
O'k I spent an hour testing things. I installed a brand new forum 1.1.4 and installed gallery 1.1.2 and watermark worked. I uninstalled 1.1.2 and installed the latest version of gallery and now like my main site the watermark doesn't work.

Anyone been able to fix this problem?
Title: Re: Watermark
Post by: Bil.Ramby on December 16, 2007, 09:16:05 am
Sorry to dredge up an old topic, but the search turned up no good answer.

I also have this problem. I have the font directory with the font, I have the absolute path to the image, no errors in the log, and GD 2.0.28.

I would really appreciate a fix to this issue. If I missed it, my apologies in advance.
Title: Re: Watermark
Post by: SMFHacks on December 16, 2007, 07:23:38 pm
First under settings is "Watermarking" checked

Is this a text and image watermark? Or just an image? Or just Text

If it is a text based may require for imageftbbox function "Note: This function is only available if PHP is compiled with freetype support (--with-freetype-dir=DIR)" but the gallery does check if does not exist and then tries to use imagestring
Title: Re: Watermark
Post by: Bil.Ramby on December 16, 2007, 07:35:20 pm
First under settings is "Watermarking" checked

Is this a text and image watermark? Or just an image? Or just Text

If it is a text based may require for imageftbbox function "Note: This function is only available if PHP is compiled with freetype support (--with-freetype-dir=DIR)" but the gallery does check if does not exist and then tries to use imagestring

Yes, it's checked, and I tried both, individually and together.
Title: Re: Watermark
Post by: thehawk on February 29, 2008, 03:25:00 pm
First under settings is "Watermarking" checked

Is this a text and image watermark? Or just an image? Or just Text

If it is a text based may require for imageftbbox function "Note: This function is only available if PHP is compiled with freetype support (--with-freetype-dir=DIR)" but the gallery does check if does not exist and then tries to use imagestring

Yes, it's checked, and I tried both, individually and together.

Did this ever get fixed?  I am having the same trouble, both as text, image, and both together, and also no associated errors in the log.
Title: Re: Watermark
Post by: Bil.Ramby on February 29, 2008, 05:14:43 pm
It actually turned out that mine was working.....but only on new photos added, not existing photos which is what I was looking at.
Title: Re: Watermark
Post by: thehawk on February 29, 2008, 07:03:49 pm
I don't know what it didn't like, but mine is working now too.

Based on your reply, I uninstalled GP, DROPped all the associated tables, then reinstalled.  Watermarks are now happy.
Title: Re: Watermark
Post by: SMFHacks on February 29, 2008, 07:26:55 pm
It actually turned out that mine was working.....but only on new photos added, not existing photos which is what I was looking at.
The watermark will not currently add to existing images that had no watermarking and those pictures will need to be reuploaded for watermarking to take affect.
Title: Re: Watermark
Post by: thehawk on February 29, 2008, 08:03:42 pm
I don't know what it didn't like, but mine is working now too.

Based on your reply, I uninstalled GP, DROPped all the associated tables, then reinstalled.  Watermarks are now happy.

I spoke too soon.  They are working, but only for individually uploaded pictures.  It is not working for imported pictures.
Title: Re: Watermark
Post by: thehawk on March 04, 2008, 02:20:42 am
I spoke too soon.  They are working, but only for individually uploaded pictures.  It is not working for imported pictures.

I had some time to do a little more fiddling, and adding pictures individually gets watermarked, and bulk adding pictures they all get watermarked- it is just the importing that is not adding the watermarks.

Any ideas?
Title: Re: Watermark
Post by: lakestclair on March 04, 2008, 10:08:30 pm
First under settings is "Watermarking" checked

Is this a text and image watermark? Or just an image? Or just Text

If it is a text based may require for imageftbbox function "Note: This function is only available if PHP is compiled with freetype support (--with-freetype-dir=DIR)" but the gallery does check if does not exist and then tries to use imagestring

Guess I'm having the same problem now...What do I have to do to fix this?  Uninstall Gallery Pro then reinstall it?  None of my pictures are being watermarked now.
Title: Re: Watermark
Post by: SMFHacks on March 05, 2008, 10:17:31 pm
I spoke too soon.  They are working, but only for individually uploaded pictures.  It is not working for imported pictures.
Released an update not sure if it fixes your issue but did correct a setting in the importing function. Test the watermarking function on my site with text, and image watermark

1.3.15
!Fixed topic creation options for importing pictures. Was not locking and showing post links.

I had some time to do a little more fiddling, and adding pictures individually gets watermarked, and bulk adding pictures they all get watermarked- it is just the importing that is not adding the watermarks.

Any ideas?