PDA

View Full Version : Show Thread Enhancements - Watermark Images Posted In Threads


1Unreal
03-08-2009, 10:00 PM
This mod will watermark images posted in a thread.

Features
Specify the text to display as a watermark or use the forums title
To only watermark images over a given width (so you don't watermark small images; its not really worth it)
Gives a nice profesional watermark on the bottom of your images.
Supports all major image formats used on the web.Future Releases
Im going to add these features at a later date. I just want to get the basics working properly first.
Use an image as the watermark (optional)
Image caching to reduce server load (optional)Installation
Upload watermark.php
Install the XML file
Configure the settings in vB options under 'Watermarking Settings'

M-Tuning
03-09-2009, 07:24 PM
Nice, can you make a option to only do this to posts in a certain forum?

And maybe only in the first posts?

For news items.

Smell
03-09-2009, 07:33 PM
Good mod but i have a problem........take long time to refresh the pages with pictures ;)

1Unreal
03-09-2009, 07:50 PM
Nice, can you make a option to only do this to posts in a certain forum?

And maybe only in the first posts?

For news items.

Well anythings possible, so it's something to think about.

Good mod but i have a problem........take long time to refresh the pages with pictures ;)

Yes, I noticed this. I'll add the caching feature very soon which should eliminate this problem.

Akademiks
03-09-2009, 08:06 PM
Nice, can you make a option to only do this to posts in a certain forum?

And maybe only in the first posts?

For news items.

i will second that :up:

marshal_ramdev
03-09-2009, 08:17 PM
thanks ! will check it out now :D

marshal_ramdev
03-09-2009, 08:23 PM
the image isn't showing up ! what to do ?

1Unreal
03-09-2009, 08:51 PM
the image isn't showing up ! what to do ?

Please post the URL of the image and the settings you have specified in vB options. Also make sure you have uploaded watermark.php.

Deviant K1
03-09-2009, 09:13 PM
INSTALLED!!!

Thank you for this mod. Lets hope that the next update will help the load time of the images :).

jeremyalyea
03-09-2009, 10:08 PM
Installed on 3.6 and worked fine. Unfortunately it increased page load/image load time quite a bit.

myown
03-10-2009, 04:31 AM
reserved

rapidphim
03-10-2009, 06:12 AM
this hack applies to attachment image only or can it use on img bbcode tag also?

1Unreal
03-10-2009, 08:10 AM
It only applies to bbcode.

Arcade Fire
03-10-2009, 01:01 PM
Installed.


How can I change the font of the text?

Thanks.

1Unreal
03-10-2009, 01:07 PM
Google PHP GD Text Font (http://www.google.com/search?hl=en-GB&q=PHP+GD+Text+Font&sourceid=navclient-ff&rlz=1B3GGGL_enGB282GB283&ie=UTF-8) there are a few tutorials on it. You would have to change quite a few bits of the code though.

Arcade Fire
03-10-2009, 01:28 PM
My emoticons do not move after intall watermark :(

citizenkane
03-10-2009, 01:29 PM
number 10 is an excellent product seamlessly great man :)

YsTyle
03-10-2009, 03:00 PM
the pictures does not appear.

Mike08
03-11-2009, 12:51 AM
My emoticons do not move after intall watermark :(+1. But i have a v3.6.8

Thanks anyway ;)

isatice
03-11-2009, 05:11 AM
wow super great hack
installed in less than a minute
thanks buddy

crkgb
03-11-2009, 06:59 AM
After installing the images stopped getting shown altogether. The image address started to look like this:

http://www.mysite.com/watermark.php?src=http://www.mysite.com/images/kgb/futurikon_small_09.jpg

Had to uninstall but would love to get it to start working.

3.8.1

realmr
03-12-2009, 08:27 AM
does it watermark on attachment image or any site uploaded image ?

doraj
03-12-2009, 09:52 AM
This Mod is very dangerous, I tried it and when I unistalled it all images of my forum are disappears...

racingsolution
03-14-2009, 01:55 AM
Subscribed .. waiting for bug fixes and more features

Ljusya
03-14-2009, 11:50 AM
After installing the images stopped getting shown altogether. The image address started to look like this:

http://www.mysite.com/watermark.php?...n_small_09.jpg

Had to uninstall but would love to get it to start working.

3.8.1
similar problems... waiting for author`s comments and fixes

Chris583
03-17-2009, 04:38 AM
works, but is there a way to disable for .gif images with animations? I've noticed that the animated gifs wont work, shows only first frame.

tuwebfacil
03-17-2009, 04:10 PM
Hope to see the catching feature soon, since this can increase the server load, a lot for a big forum!

muckleroy
03-17-2009, 07:53 PM
gif issue confirmed. I had to disable to get everything back to normal.

amin
03-23-2009, 05:02 AM
works, but is there a way to disable for .gif images with animations? I've noticed that the animated gifs wont work, shows only first frame.

gif issue confirmed. I had to disable to get everything back to normal.

It will be great if you make options for image formats which can disable or enable what the user want in particular. And there is another thing beside the width add hight. As you know there are some pictures lock like bars if we watermark it we will not see the bar.

Thank you so much,

Amin

qpo
03-23-2009, 08:52 AM
My emoticons do not move after intall watermark :(

That is caused due to PHP GD library limitation. To emoticons show started again, I propose to make some changes in the source code. You need to found code in file watermark.php:

if($imagewidth <= $minwidth){
header ("Content-type: image/png");
imagepng($im);
imagedestroy($im);
}


and replace it to

if($imagewidth <= $minwidth){


switch ($imagetype['mime']) {
case "image/gif":
header ("Content-type: image/gif");
break;
case "image/jpeg":
$im = imagecreatefromjpeg($image);
header ("Content-type: image/jpeg");
break;
case "image/png":
$im = imagecreatefrompng($image);
header ("Content-type: image/png");
break;
}

$filename = $_SERVER['DOCUMENT_ROOT']."/".$_GET['src'];
$fp=@fopen($filename,"rb");
$contents = fread($fp, filesize($filename));
fclose($fp);
header ("Content-Length: ".filesize($fp));
echo $contents;

imagedestroy($im);
}


In that case watermark.php script will be get out emoticons file contents without any transformation. Don't forget to setup minimal width in admin area! (I use 100 pixels)

Pathed file also attached

sensimilla
03-23-2009, 09:40 AM
nice work

geevest.com
03-24-2009, 02:44 AM
good but if u qote the image.watermark is unshow.

mrtroybaker
03-24-2009, 03:52 AM
Great Mod!!!!!!!! Had to uninstall due to broken links and other bugs but I see its still in development. Cant wait for new release

BalkanW
03-24-2009, 04:53 AM
this is perfect...thanks end nominate

RL714
03-26-2009, 10:04 PM
images doesnt show

dmknights
03-29-2009, 08:02 PM
*Clicks Installed*

Is there a way to have an image instead of text?

woffie
03-29-2009, 11:00 PM
Yep, uninstalled. All images show red x's if under the size I set.

chick
03-30-2009, 01:38 AM
Uninstalled, watermark stop my animated smilies from working and interfered with other script... too bad this is such a nice idea. Thanks.

Keith_
03-30-2009, 08:30 PM
Up for updates!

ZzZ_ZzZ
04-06-2009, 04:31 PM
only work attachment image? or other sites ?

emucu
04-07-2009, 12:26 PM
the mod attachment image ?

Bravo
04-09-2009, 06:31 AM
The images aren't showing cause for some reason the full link generates a 403 Forbidden Page when if its chmod at 777

foroalfaromeo
04-10-2009, 10:17 PM
Nice work
I installed it, but smilleys were also afected.
If you can solve that, It would be great

For now it's uninstaled

PS: Maybe you can put a condition by imagesize.

creative-friend
04-10-2009, 10:48 PM
Thats Nice
Thanks Alot...

ahmer
04-11-2009, 03:53 AM
sir this is real gr8

put can u do this like we can also add images on the image like we add text

anbalireza
04-13-2009, 03:29 PM
dosent work on album images ..!!

why !?!

UltraFanatics
04-13-2009, 03:35 PM
dosent work on album images ..!!

why !?!

Bugger I need it for albums

ccozkaraca
04-13-2009, 06:29 PM
Excellent mod, thanks alot.
Installed:up:

Nathan Brown
04-13-2009, 11:39 PM
I have the same problem as a couple of others.
It adds watermark.php?=src"" and doesn't load the image, it's just the usual red X defined with no image found. I uploaded watermark.php in /forum, where the clientscripts ect folder is.

blackhatspace
04-15-2009, 12:16 AM
Installed.

Walter Ronny
04-15-2009, 05:50 PM
installed and doesnt work, doesnt appear images posted when hack is installed. i Upload watermarket.php where "admincp, archive,etc" are. and not luck, upload watermark product , i dont know what exactly to set on widht, i put 5000 for test it , change it to 1000, doesnt work, images posted on thread doesnt appear.. what happen?

TMH63
04-17-2009, 02:57 PM
Why create a hack if it's not going to get updated and supported? :down: This seems like a very nice ad on, without all the issues.

trickfly
04-17-2009, 03:33 PM
If only someone could update this and fix all these problems!

ouch
04-23-2009, 02:45 PM
hmm similar problems with no image display...............i wait for updates.

rootshell-vb
04-24-2009, 10:59 PM
Great product thanks

Osama11
04-25-2009, 03:01 PM
this mod makes gif pic stuck..
the pic moves when i create the thread but when i post it .. its stuck :(

Jussel
04-25-2009, 04:50 PM
Installed, and working. Thanks

truble
05-04-2009, 01:02 AM
not meaning to nag a sleeping horse (or something like that) but has ANYONE gotten a reply or managed to figure out why the images dissapear after install???

nomoreturn
05-04-2009, 04:02 AM
Installed but not working images dissapear .

This Mod is very dangerous, I tried it and when I unistalled it all images of my forum are disappears...

is that realy harmfull to uninstall coz according to doraj when uninstalled all images disappeard please help me to uninstall shuld i uninstall or just leave it as disable i dont want to lose my forum images plz

S7rik3R
05-04-2009, 05:22 AM
Thank You ~

I've been looking for this mod for copyrighted *Protection*

M Shaker
05-04-2009, 10:01 PM
Thanks

z0diac
05-05-2009, 02:55 AM
Wow, after seeing all the problems with this, and not one response from the coder who made it, then responses saying this mod has deleted all the images from someone's forum, i'm surprised this mod is still allowed to be listed on here!

VoiCoi1989
05-06-2009, 07:26 AM
Wow, after seeing all the problems with this, and not one response from the coder who made it, then responses saying this mod has deleted all the images from someone's forum, i'm surprised this mod is still allowed to be listed on here!
that's right, all images from my forum has deleted when i disable