Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

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

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

Stop people copying photos off site


Go to End
Reply


11 Posts   3357 Views

Avatar
Pottsy

Community Member, 19 Posts

28 August 2008 at 12:16pm

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

Avatar
grilldan

Community Member, 135 Posts

28 August 2008 at 1:31pm

Edited: 28/08/2008 1:35pm

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

Avatar
Pottsy

Community Member, 19 Posts

28 August 2008 at 3:51pm

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

Avatar
grilldan

Community Member, 135 Posts

28 August 2008 at 4:47pm

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

Avatar
Pottsy

Community Member, 19 Posts

28 August 2008 at 5:37pm

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

Avatar
Willr

Forum Moderator, 5513 Posts

28 August 2008 at 7:16pm

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/

Avatar
Fuzz10

Community Member, 787 Posts

28 August 2008 at 7:48pm

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.

Avatar
Pottsy

Community Member, 19 Posts

29 August 2008 at 11:54am

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

Go to Top