PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old December 16th, 2005, 02:34 AM   #1 (permalink)
Member
 
Join Date: Aug 2003
Posts: 98
Add a watermark if its linked offsite?

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?

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)

Thanks!
PhoenixDown21 is offline   Reply With Quote
Old December 16th, 2005, 04:54 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,668
I don't honestly know if thats possible. I know you can redirect people to another image with mod rewrite

Basically you would need to look up all the options for mod rewrite on the new to see what you can and can't do. Given everything I have seen those far I would say it is not doable
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old December 21st, 2005, 01:02 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jan 2005
Location: Kentucky, USA
Posts: 38
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.

Last edited by Damian; December 21st, 2005 at 01:13 AM.
Damian is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linked licenses rbl General Discussion 4 November 22nd, 2005 11:57 AM
Can VBAG directories be linked? Dennis B Before You Buy 3 August 19th, 2005 03:28 PM
Linked Images javo How Do I? - vBulletin 3.0.X 3 May 18th, 2005 11:39 AM


All times are GMT -5. The time now is 10:37 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0