Watermark Outside images?

moneff

Junior Member
Joined
May 28, 2011
Messages
197
Reaction score
8
Hello,

Can someone suggests me a software which can makes watermarks outside the image?
I want to watermark my images..
Something like 9gag.com

The watermark is outside the image.. below ..

Thanks and rep will be given! :)

Best Regards,
Simeon
 
Any ideas for a software like that one?
 
its actually a bit of PHP that does it on damnlol.com - so whn a usr savs th imag its automatically added.

I have a clone of damnlol and it does what your asking. let me see if i can extract that section of the script for you.
 
Code:
<?php
$info = $_GET["info"];

$info = explode("_",$info);

$original_image_path = str_replace("foldername","/",$info[0]);
$original_image_w = $info[1];
$original_image_h = $info[2];
$watermark_width = 150;
$watermark_height = 25;

$x = $original_image_w - $watermark_width;
$y = $original_image_h - $watermark_height;
$opacity = 100;

$original = imagecreatefromjpeg($original_image_path);
$watermark =  imagecreatefromjpeg("images/watermark.jpg");
imagecopymerge ( $original, $watermark, $x,$y,0,0, $watermark_width, $watermark_height, $opacity);
header('Content-Type: image/jpeg');
imagejpeg($original);
exit;
?>

Thats the basis, but im sure that you will get some kind of error because you dont have a reference for the info var, but Im sure somebody more proficient in PHP can finish it off
 
Hi, sorry but I have been looking all over the internet. Do you have, by any chance, a damnlol clone script hanging around? :D I can't find any free ones. :(
Thx in advance!
 
Sorry for replying on the old thread..
But I also need to know this.
I saw some comments that said to do this with margins,... But I don't know how to do it.
Is there anyone here that could help me with this?

-karibo-
 
Is there a software for doing this? or no ?
 
Back
Top