PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old October 31st, 2005, 03:30 PM   #1 (permalink)
Senior Member
Verified Customer
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 877
Help on protecting my images.

I guess the first main question I have or assumption I've had since I've been working on my site is that the .htaccess files COMPLETELY protect images from being hotlinked onto other sites. Is this correct? So .htaccess makes it so they just can't steal your bandwidth, right?

I was looking more at the bottom options in the admincp and noticed this: "watermark.php - this script will 'hide' the location of your images by requiring that all image displays go through this script."

If I'm not concerned with people right clicking or saving images then I don't really need to worry about hiding the location of images do I?

My other question, assuming my above assumptions are correct, is can I get help on what exactly I need to set or change to make it so that all thumbnails are hotlinkable, but medium and fullsized images are not hotlinkable? I also wanted to protect the upload directory so users didn't just upload images to their upload directory and never process them so they could use that directory and link to the fullsized unprocessed images.

Thank you.
Johnny Doomo is offline   Reply With Quote
Old October 31st, 2005, 03:57 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,947
If you want to truly protect them you do this

1. use watermark.php to serve the images
2. enable right click protection
3. use htaccess in IPS to block bandwidth theft
4. In IPS move the large image server path to a directory you create beneath the webroot and the script can move the images there so they can not be taken

__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old November 1st, 2005, 12:09 AM   #3 (permalink)
Senior Member
Verified Customer
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 877
1. If I use watermark.php I don't have to use a watermark on the image do I?
2. I want to allow people to save the images to their computer, I just don't want them to steal my precious bandwidth and if you disable the right click, they can't save wallpapers or images... as far as using another browser that ignores it like Opera or using the built in save feature in IE.

Also, I was hoping for some help on what I should actually add into the .htaccess fields and which ones. Can you help me with that? Giving me steps to what I need to do is a great first step, but I still am not really sure what I set any of those features that you mentioned to. Can you help an image protection noob out? I've never used IPS before, is there an official thread that helps step us through it?

Thanks.

Last edited by Johnny Doomo; November 1st, 2005 at 12:17 AM.
Johnny Doomo is offline   Reply With Quote
Old November 2nd, 2005, 08:32 AM   #4 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
I use this for a .htaccess to prevent hotlinking, my version serves up a default graphic in place of the image they are trying to hotlink to:

Code:
Content visible to verified customers only.
IPS is in the Admin Options and contains fairly explicit instructions when you look at the options; depending on your needs you may or may not need to use this. If all you want to accomplish is preventing hotlinking, the .htaccess in your data directory should be enough.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old November 2nd, 2005, 10:47 PM   #5 (permalink)
Senior Member
Verified Customer
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 877
OK, here's an update:

I followed a tutorial that explained to add this to my htaccess
Quote:
RewriteEngine On

RewriteCond %{REQUEST_FILENAME} .*jpg$|.*gif$|.*png$ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !domain\.com [NC]
RewriteCond %{HTTP_REFERER} !www.domain\.com [NC]
RewriteCond %{HTTP_REFERER} !google\. [NC]
RewriteCond %{HTTP_REFERER} !search\?q=cache [NC]

RewriteRule (.*) http://www.domain.com/images/banners/block.gif
I turned off using the watermark.php and the above text in the htaccess seems to work and show my block.gif message, but it doesn't allow the thumbnails to get through. Do I need to set something else?

Also I noticed that when I look at the htaccess file on the "Edit data .htaccess" and the "Edit fullsized .htaccess". It's the same text, but I only inserted text into the "Edit data .htaccess" link. Is it suppose to show up on the other? From what I can see it's blocking just like what I want, but I want it to left all thumbnails through to other sites.

Can you please help me finish setting this up?

Last edited by Johnny Doomo; November 2nd, 2005 at 11:20 PM.
Johnny Doomo is offline   Reply With Quote
Old November 2nd, 2005, 11:58 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,947
How abouts removing the slashes in your domain name
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old November 3rd, 2005, 10:34 AM   #7 (permalink)
Senior Member
Verified Customer
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 877
It had those in there and it seems to work. I don't understand any of it. I just followed the tutorial and it worked. I just need it to now let thumbnails through. Can you tell me how I can do that?
Johnny Doomo is offline   Reply With Quote
Old November 3rd, 2005, 06:40 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,947
try the htaccess we suggest in out support manual pages

http://www.photopost.com/support
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old November 4th, 2005, 10:30 AM   #9 (permalink)
Senior Member
Verified Customer
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 877
That link just goes to the photopost front page. Can you point me in the right direction? I checked the "PhotoPost User Guide" but I couldn't see anything about the htaccess file. Can you help me find the support page that discusses the htaccess file?

Thank you.
Johnny Doomo is offline   Reply With Quote
Old November 5th, 2005, 04:18 AM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,947
here it is

http://www.photopost.com/tipsphp.html
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old November 7th, 2005, 04:38 PM   #11 (permalink)
Senior Member
Verified Customer
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 877
Quote:
Originally Posted by Chuck S
That didn't fix the problem.

How do I get it so that the thumbnails will show on other sites, while the medium and full size images will be blocked?

The htaccess I posted or even MPs works better than the one offered on that tip page.

Perhaps, if you could help me understand the two links in the adminCP I could better ask the question or put forth an ideas on how I might be able to do it.

See, whether I click the "Edit data .htaccess" or the "Edit fullsized .htaccess" links in my admincp it takes me to the same page for the htaccess. Is this a bug? If I edit one of the fields and save it, and then look at the other one it's saved to whatever I just changed on the other link. I don't understand why there are two links.

My other question is, Is the "Edit fullsized .htaccess" link suppose to block/create htaccess rules for only the originally fullsized images, or does it also create rules for the medium sized images as well?

I have seen and followed htaccess tutorials, but I don't know how to get it so that it will allow the thumbnails while still blocking the medium and fullsized images in Photopost. I need help on how to figure this out and get it working. Can you please help?
Johnny Doomo is offline   Reply With Quote
Old November 7th, 2005, 06:15 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,947
You I guess would need to add those sites to the htaccess file as the whole point of htaccess is to block access to files on remote sites
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old November 10th, 2005, 10:48 AM   #13 (permalink)
Senior Member
Verified Customer
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 877
I understand that the htaccess is used to prevent sites to linking to my images directlry. Is what I want is for it to do JUST THAT for the native and mid sized images.

The thumbnails are stored in a thumb directory so isn't it possible to have an htaccess that allows the thumbs to be linkable and not follow the rule of the native or mid sized images that are in different directories?

The only categories I have setup are the members gallery and a gallery for unregistered users. The unregistered users would be easy since they aren't allowed to create any albums, but for the members how do I get it so that if they create albums that the thumbnails inside those albums are still linkable, while the native and mid sized images aren't?

I thought this was capable "out of the box"? I thought this is what the IPS was all about? Was I mistaken?

Is all I want is for all images to be blocked EXCEPT thumbnails, can this be done and can you help me with where the htaccess files should go?

I don't know anything about htaccess files, but I would think that there would be a way for it to have the rules work for everything with the option to exclude those rules from working on a directory... of course if new thumb directories are being created everytime somebody creates a new album that could cause problems.

Can you please let me know what I should do? Is this going to require a mod?
Johnny Doomo is offline   Reply With Quote
Old November 10th, 2005, 12:58 PM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,947
Your confusing what IPS is and HTACCESS

IPS uses watermark.php to serve the images. It always you to disable right click. htaccess is always an independent issue.

htaccess locks down your data directory so if your locking it down of course any subdirectory of data is locked
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old November 10th, 2005, 04:04 PM   #15 (permalink)
Senior Member
Verified Customer
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 877
OK, so can I use the "Storage Options" in the adminCP to make it so that the all thumbnail directories are stored somewhere else?

If not that, then is it possible to have a htaccess file auto created in all thumbnail directories that will "unlock" the thumbnail images so that they can be linked onto another site?

I need "something" that will allow the thumbnails to be linkable to other websites while keeping the native size and mid size of the images protected. I guess I thought Photopost was capable of doing this, and that's why the thumbnails are put in their own directory.

If it is not possible to do this with a simple htaccess file locking some images and unlocking thumbnails in their directories, then could you give me some ideas on a type of mod you would create to do what I am trying to get done? Maybe throw a price out there for me if it's something that you wouldn't do "out of the kindness of your heart"

This is a big problem for me as it is sort of a very large feature of the site, that I guess I misunderstood when looking into Photopost.

Thank you.
Johnny Doomo is offline   Reply With Quote
Old November 14th, 2005, 03:28 PM   #16 (permalink)
Senior Member
Verified Customer
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 877
bumpy bumpy
Johnny Doomo is offline   Reply With Quote
Old November 21st, 2005, 05:21 PM   #17 (permalink)
Member
Verified Customer
 
Join Date: Feb 2004
Posts: 117
I agree. I would like a way to get the thumbnails out of the main image directories, because I have modiifed my site so that only paying members can view full sized images, but can still view the thumbs. But I have found if you have the path of the thumbnail, then all you have to do is remove the /thumbs/ and you can view the full image. Also, if you want access to just the thumbs, then if you .htaccess the directory, then you block access to the thumbs as well.
ghinton is offline   Reply With Quote
Old November 21st, 2005, 05:36 PM   #18 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,947
ghinton your situation is exactly why you would use the storage options and move the large images. This feature is already included in the software
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old November 29th, 2005, 05:08 PM   #19 (permalink)
Senior Member
Verified Customer
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 877
So it is currently impossible to protect the medium and full sized images and not allow them to be hotlinkable, while allowing the thumbnails to be hotlinkable to other sites?

Could a personal modification be done to make it so that thumbnails wouldn't be protected, while all other sizes would be? (Even for a price?)

I have been rolling around with ideas, but it seems that I really can't do a whole lot until I get this problem fixed. Maybe any ideas you have for me of how to fix this problem?

Any ideas, suggestions or help would be much appreciated.

Thank you.
Johnny Doomo is offline   Reply With Quote
Old November 29th, 2005, 10:44 PM   #20 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,947
large can be stored below the web root thumbnails and medium are not. This is just how IPS was written.

To allow or disallow hotlinking has to do with mod rewrite and with that you go past me realm as I have never gotten to heavily into what you can and can not do with that
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S 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
change location of Newest x Images and Random Images on the main gallery page imported_rrr How Do I? - vBulletin 3.0.X 6 February 12th, 2006 07:54 AM
Recent Photos, Random Images and Most Popular Images blocks showing even in category criscokid Photopost Pro How Do I...? 2 November 8th, 2005 02:58 PM
watermark all images users post in vb with [ img ] tag, even images hosted elsewhere MediaHound Photopost Pro How Do I...? 3 August 17th, 2005 07:16 PM
newest images & random images on front gallery imported_axi How Do I? - vBulletin 3.0.X 6 April 4th, 2005 03:20 PM


All times are GMT -5. The time now is 01:52 AM.

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