Quote:
|
I'd also like the watermark to be added to the bottom of the post, essentially underneath so that if hte pic was 80 px high - it would add a 20px watermark making the picture now 100px high. (if that makes sense)
|
I have no idea how to do this.
Quote:
|
Originally Posted by PhoenixDown21 As the title asks, I am looking to add a watermark but only if the picture is being remotely linked from another site. Any suggestions on how to do this? |
You can do this with a script and .htaccess.
Create a file called watermark.php with this as contents:
Code:
Content visible to verified customers only.
Add this to your gallery .htaccess file or make one (change "yoursite" and the path to watermark.php)
Code:
Content visible to verified customers only.
Optional to .htaccess if you want want to let blank referrers see the image without the watermark, add this:
Code:
Content visible to verified customers only.
Create your watermark image (watermark.png).
Upload watermark.php, your .htacess file, and watermark.png to your gallery root.