PDA

View Full Version : Watermark Uploaded Pics


Red Spider
02-14-2007, 10:19 PM
Is it possible to create a hack that will add two watermarks to any uploaded images

1st watermark being the uploaders username

2nd watermark being a "logo" set by the admin?

Thanks :D

Red Spider
02-16-2007, 05:11 PM
Anyone? PLEASE! :D

ConqSoft
02-16-2007, 05:39 PM
I still have an open offer of $250 for this hack: https://vborg.vbsupport.ru/showthread.php?t=127628

Red Spider
02-16-2007, 05:47 PM
I still have an open offer of $250 for this hack: https://vborg.vbsupport.ru/showthread.php?t=127628
$250 - WOAH!

You must want it more than i do :p

Red Spider
02-17-2007, 09:16 PM
BUMP! Someone PLEASE make this!

Red Spider
02-23-2007, 05:39 PM
BUMP!

Perhaps a mod of this:

https://vborg.vbsupport.ru/showthread.php?t=112829

Modded to automatically add the uploaders username as well?

Thanks :)

Seems this can be done with GD and PHP, I found the following code ina tutorial sadly i dont know how to integrate it with vB :(

header('content-type: image/jpeg');
header('content-type: image/jpg');
header('content-type: image/bmp');
header('content-type: image/jpe');

$watermark = imagecreatefrompng('/images/watermark.png');
$watermark_width = imagesx($watermark);
$watermark_height = imagesy($watermark);
$image = imagecreatetruecolor($watermark_width, $watermark_height);
$image = imagecreatefromjpeg($_GET['src']);
$size = getimagesize($_GET['src']);
$dest_x = $size[0] - $watermark_width - 20;
$dest_y = $size[1] - $watermark_height - 20;
imagecopymerge($image, $watermark, $dest_x, $dest_y, 0, 0, $watermark_width, $watermark_height, 100);
imagejpeg($image);
imagedestroy($image);
imagedestroy($watermark);

Red Spider
02-24-2007, 09:01 PM
Bump - I Need This Asap!

goblues
02-25-2007, 01:38 PM
As do I! Will kick in a donation to further the progress.

Red Spider
03-09-2007, 10:25 PM
B U M P !!!

ConqSoft
03-12-2007, 03:44 PM
I hired a programmer to do this hack for me. Everything is done and working well. I'll be posting it as a free, unsupported, modification soon.

Gryphon
03-12-2007, 04:43 PM
Thank you ConqSoft, that would be quite generous.

Red Spider
03-12-2007, 05:44 PM
I hired a programmer to do this hack for me. Everything is done and working well. I'll be posting it as a free, unsupported, modification soon.
Thank you so much ConqSoft :)

ConqSoft
03-12-2007, 07:44 PM
Posted: https://vborg.vbsupport.ru/showthread.php?t=141883

dodgeuk19
03-13-2007, 01:32 AM
top man, thank u so much

Mrdby
09-20-2007, 01:03 PM
3.6.8?