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
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
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
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:
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
If your not familiar with a scripting language, I would suggest doing this manually (or batch it), before upload.
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
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/
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.
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