First time unpack root.rar and upload files(watermark.php and watermark.png=>Make your own watermark and replace it) to root.
BBCode :
Code: Select all
[watermark]{LOCAL_URL}[/watermark]
Code: Select all
<img src="watermark.php?path={LOCAL_URL}">
Code: Select all
[watermark]imagefoldername/imagename[/watermark]
Code: Select all
[watermark]myimages/mypicture.jpg[/watermark]
Code: Select all
$startwidth = (($imagewidth - $watermarkwidth)/2);
$startheight = (($imageheight - $watermarkheight)/2);