hi! I would like to use this for my image posts in blogger. What script should I use and where should I place it? thanks!
-question by ambi dextrous
| |
|
Welcome to KnowledgeSutra - Dear Guest | |
Watermark Your Image With Simple Php Script
Started by BuffaloHelp, Apr 24 2006 02:46 AM
42 replies to this topic
#42 Guest_Allen_*
Posted 28 February 2011 - 11:44 PM
I implemented this script within 10 minutes and had it working on our client's image gallery. 500+ professional photographs are now all watermarked within the website.
Thanks!
This eliminates the entire full-size URL from displaying in the status bar when hovering a link, which helps reduce the lieklihood of hotlinking or direct image viewing, ie. typing in the full image path into the browser to bypass the watermarking.
Thanks again!
Thanks!
Quick-tip: I am using a lightbox framework for images, so I had to edit the href= property of the a tag. Before I would have something like this: <a href="photos/full/<?php echo $gallery; ?>/<?php echo $filename; ?>"><img src="photos/thumb/... Now I am calling them like so: <a href="watermark.php?path=<?php echo $gallery; ?>/<?php echo $filename; ?>"><img src="photos/thumb/... And within watermark.php, I edited the first line to read: $imagesource = 'photogallery/full/' . $_GET['path'];
This eliminates the entire full-size URL from displaying in the status bar when hovering a link, which helps reduce the lieklihood of hotlinking or direct image viewing, ie. typing in the full image path into the browser to bypass the watermarking.
Thanks again!
Edited by moderator, 11 April 2012 - 06:30 AM.
Reply to this topic

1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users














