Watermark Attachments

MobileHacks

New Member
Product: 1
Plugin: 2
Query: 0

Feature
* put a logo (watermark) on your attachments.
* option to watermark only attachments after X days of creation
* option to watermark thumbnails but stop hotlinking to full size image (return a blank image instead)
* option NOT to watermark images for traffic from certain sites

Install
Step 1: import product-watermark.xml
Step 2: create and upload your own watermark logo. One for top and one for bottom.
Step 3: set the path of watermark images

Notice
1. The watermark images should be in PNG format with transparent background.
2. Check the "Safe Mode Temporary Directory" option. The directory should be writable.
3. If you don't want the attachments watermarked viewing on your own site or some other friend sites (like google image), just put the domains into "Skip Referer" option.

Todo
* currently, we have to create a temp file while sending a watermarked attachment. It will be appreciate if anybody can help me to get rid of this.

attachment.php
 

VADOS [Dj]

New Member
Hm... is this hack creates new image with watermark or just adds a watermark "on" the image, but isnt' changing it actually?
 

b33znutz

New Member
VADOS [Dj];64834 said:
Hm... is this hack creates new image with watermark or just adds a watermark "on" the image, but isnt' changing it actually?

thats a very good question! i will post my findings when im done.


looks good tho! thanks once again mobile!
 

CarlMan

New Member
this works great on 3.7 . It only corrupts the .Gif animations.

for everybody that it does not work for . try changing the Attachment Storage Type and remember to put the FULL path and not the url path to the watermark
 
Top