PDA

View Full Version : Add-On Releases - Watermark in attachment


abbasbsp
01-26-2010, 10:00 PM
This plugin will watermark attached images on your forums. works on 4.0.X for sure, probably works on others as well.

Simply
1. upload image watermak.png in the forum root
2. Import Plugin AdminCP > Plugins & Products > Download / Upload Plugins > Import XML File

Then Edit Following lines, then Activate plugin.
AdminCP > Plugins & Products > Plugin Manager > edit "Image watermarker"

Edit this line to match your watermark file:
$WATERMARK_PNG_FILE = '/home/bbindo/public_html/watermark.png';

ATTACHMENTS MUST BE IN FILESYSTEM

Enjoy!

ywwz
01-27-2010, 10:05 AM
I've been waiting for this for very very long. Thank you before install.

Kolbi
01-27-2010, 10:16 AM
Can album pictures be included, too?

ywwz
01-27-2010, 11:00 AM
it works, thank you.

b4ne
01-27-2010, 12:09 PM
doesn't work for me I have the png file in the root folder of the forum eidted the plugin as well and have it activated

Zaiaku
01-27-2010, 01:29 PM
Can album pictures be included, too?
I need it for albums aswell

Also this doesn't permanitly place a watermark correct?

josantos
01-27-2010, 02:49 PM
Installed and working fine ;)

HondaATC
01-27-2010, 05:13 PM
This is exactly the same as this mod: https://vborg.vbsupport.ru/showthread.php?t=112829

I had it installed on my site and it worked everywhere it needed to (Articles, Albums, Attachments) But I was getting some really funky stuff on the article uploads with bottom halves of the images being cut off, some not displaying period (red X's, that brought the images back when the plugin was disabled), and some other general funkyness. I ran it for about 3 weeks before I finally turned it off because there was too much un-explained behavior associated with it.

Zaiaku
01-27-2010, 05:24 PM
Great works o albums too. But just to make sure, this doesn't put permant watermarks do it?

HondaATC
01-27-2010, 05:30 PM
No. When I removed the one I linked (same thing line for line for code, I compared them) everything reverted. All it does is use GD to overlay an image you specify in a position you specify. Hint (bottom left positioning, actually positions the watermark in bottom right)

Zaiaku
01-27-2010, 05:37 PM
No. When I removed the one I linked (same thing line for line for code, I compared them) everything reverted. All it does is use GD to overlay an image you specify in a position you specify. Hint (bottom left positioning, actually positions the watermark in bottom right)

Thanks will give it a try on my site.

Update:
it double the size of eh watermark image for me. Would be perfect if it wasn't for that

ndut
01-27-2010, 07:16 PM
Installed. Thank you..

the watermark in the lower right side..
can you make it, @center of attachment picture ??

or maybe, we can adjust the watermark's position? :)

Kolbi
01-27-2010, 07:18 PM
Nice to hear that it works with album pictures too :)

HondaATC
01-27-2010, 07:39 PM
Thanks will give it a try on my site.

Update:
it double the size of eh watermark image for me. Would be perfect if it wasn't for that

Not sure if actually doubles itself, but it does not scale to the image your putting it on. Example, if the watermark is 35x120, and you put it on a 200x400 rectangle, its gonna be a big chunk of it.

Zaiaku
01-27-2010, 09:56 PM
For me it would be alot better if it does not scale at all

Dr.osamA
01-27-2010, 09:59 PM
Installed. Thank you..

the watermark in the lower right side..
can you make it, @center of attachment picture ??

or maybe, we can adjust the watermark's position? :)

to chenge position

find in plug-in

$WATERMARK_POSITION = 'bottom_left';

and Cheng bottom_left :up:

thanxxx man

installed
but dosnt work in my forum ( watermark doesn't show) :D

any idea ??

HappyFeet
01-27-2010, 10:47 PM
Followed instructions to a "T", installed but doesn't work for me. 4.0.1

Deleted but will check back, I'd like to use this... :(

Bouncer222
01-27-2010, 11:58 PM
I would love to try this out... except one question...

What if I use this mod: https://vborg.vbsupport.ru/showthread.php?t=230411
as well? It resizes images to a maximum width and hight on forums, but I also use vbadvanced, so on the home page, the images are their actual size and that mod has no control over it.

So would the watermark or images show messed up anywhere?
Thanks...

Please let me know before I install.

Bouncer222
01-28-2010, 12:00 AM
Another question just to confirm this...

Does it put a watermark on ALL image files that are uploaded to my site?

LuckyNeo
01-28-2010, 12:38 AM
Very GOOD hack! But don't work on my forum :( :( :(

Zaiaku
01-28-2010, 02:43 AM
OK took a little tweaking but got it working alot better for me. May just try to run this crom scratch to make it a little better for me.

HondaATC
01-28-2010, 03:14 AM
Zaiaku, would you mind sharing your changes? I'd love to get a better working version of this on my site.

To answer the question about what it watermarks, it watermarks pretty much everything it needs to. Albums, attachments on the forum and in articles. It does not watermark avatars, or profile pictures.

abbasbsp
01-28-2010, 03:40 AM
Watermark Plugin will work if the storage type attachments in position FILE SYSTEM

and

if you want to position the watermark image in the center, then
you go to AdminCP > Plaugin Manager > Click "Image watermarker"
then find
$WATERMARK_POSITION = 'bottom_left';
- replace "bottom_left" to "center"

iceman-x
01-28-2010, 09:35 AM
Thanks, just installed. it works fine.

Thanks.

ndut
01-28-2010, 12:26 PM
@ichal, thank you...

btw, can you give special permission for some usergroups.
maybe, for usergroups moderator : there is no watermark to display? :)

Dr.osamA
01-28-2010, 11:09 PM
remove it
sorry

the storage type attachments in position is DB

i love it but waeting for upgrade .....

balkanboy
01-29-2010, 12:35 AM
love the idea tagging... going to wait alittle for an update. keep up the good work :)

BSMedia
01-30-2010, 03:23 PM
You realize you just can't take someone elses work and release it as your own right? It's called stealing...

Reported.

ywwz
01-30-2010, 04:00 PM
sorry, only admin can see this watermark:(

Alibass
01-30-2010, 04:02 PM
Apparently this mod does not work on 4.0.1

I have attachments in file system, water mark in forum root and edited plugin per instructions. Still does not work on my site.

UNINSTALLED

nomoreturn
01-30-2010, 04:25 PM
Apparently this mod does not work on 4.0.1

I have attachments in file system, water mark in forum root and edited plugin per instructions. Still does not work on my site.

UNINSTALLED

Same with me cant see any watermark

BSMedia
01-30-2010, 05:37 PM
Apparently this mod does not work on 4.0.1

I have attachments in file system, water mark in forum root and edited plugin per instructions. Still does not work on my site.

UNINSTALLED

It's a touchy modification, it requires on GD2 I beleive to be installed.

I've got it working on my site just fine, but then again it was originally created for one of my sites and I shared it here until this guy jacked it.

1. Make sure attachments are in filesystem not database
2. Make sure the path to watermark is correct
3. Make sure you don't have a userID set that see's it.
4. Make sure you have a .png image and not trying to watermark with a .gif or .jpg (Or a .gif renamed to .png)