Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Stop people copying photos off site

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1 2
Go to End
Author Topic: 3226 Views
  • Pottsy
    Avatar
    Community Member
    19 Posts

    Stop people copying photos off site Link to this post

    Hi

    I have a customer who is keen to stop people being able to copy/download photos from his site.

    I have been unable to find anything that refers to this at this stage.

    Any suggestions on how we might be able to do this.

    Cheers

  • grilldan
    Avatar
    Community Member
    135 Posts

    Re: Stop people copying photos off site Link to this post

    EDIT

    Missread, Sorry.

    Its impossible to "STOP" copying/downloading images from a website, but there are many things you can do to make it harder.

    Disable right click (javascript)
    Use CSS and place the images as "background-url" (CSS)
    Password protect, or place a blank index.html page in the images folder

    Hope these helped a little.

    --------------------------
    (this will stop people from using the images on THEIR website.)

    You need to have hotlink protection.

    Here is a good result I found from google:

    http://altlab.com/htaccess_tutorial.html

  • Pottsy
    Avatar
    Community Member
    19 Posts

    Re: Stop people copying photos off site Link to this post

    Thanks

    You have pretty much confirmed what I already was sure was the case. I have seen a few references to placing a watermark on images displayed.

    Is there a way of doing this "automatically" or is it better to doctor all the images placing a watermark on each image prior to uploading?

    Cheers

  • grilldan
    Avatar
    Community Member
    135 Posts

    Re: Stop people copying photos off site Link to this post

    If your not familiar with a scripting language, I would suggest doing this manually (or batch it), before upload.

  • Pottsy
    Avatar
    Community Member
    19 Posts

    Re: Stop people copying photos off site Link to this post

    Yep

    Came to that conclusion myself. I have decided to watermark each of the pics manually with photoshop. Sigh

    bit of a job but probably the best solution for a difficult problem.

    Cheers Neil

  • Willr
    Avatar
    Forum Moderator
    5497 Posts

    Re: Stop people copying photos off site Link to this post

    If you have PHP GD2 I think theres quite a few methods you could use to make it a bit more dynamic for instance - http://ditio.net/2007/07/11/creating-watermarks-with-php-and-gd-library/

  • Fuzz10
    Avatar
    Community Member
    787 Posts

    Re: Stop people copying photos off site Link to this post

    Regarding watermarking, I've got that code done , but I can't figure out how to go about integrating it with Silverstripe.

    Willr ; would you mind giving me some pointers on how to "hook" this in ?

    See http://www.silverstripe.com/site-builders-forum/flat/1144 for my question.

  • Pottsy
    Avatar
    Community Member
    19 Posts

    Re: Stop people copying photos off site Link to this post

    Thanks Willr

    Dumb question, but what is GD?

    I have had a look at the link you listed but I still don't know whether I have GD as part of Silverstripe or whether it is an extra download and install.

    Cna you please let me know what GD stands for

    Many thanks

    3226 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.