didgydont Posted July 17, 2008 Share Posted July 17, 2008 hi all is there a way to stop view source or stop people downloading pictures. at the moment i have a java script to stop right click but i can still view the source and download the picture thank you Link to comment https://forums.phpfreaks.com/topic/115140-view-source-or-images/ Share on other sites More sharing options...
unsider Posted July 17, 2008 Share Posted July 17, 2008 Do you mean the images you're using on your site that can be stolen via viewing the source code? The right click can easily be 'hacked' with a 3 click-type combination, forgot which it is though. I'd suggest using relative paths for your images that way atleast if the person wanted to recreate your site, they'd have to add the root domain. *shrug* honestly, i wouldn't worry about it. I don't know of any full proof way to protect your HTML output (source). Don't worry about it I guess. Link to comment https://forums.phpfreaks.com/topic/115140-view-source-or-images/#findComment-592098 Share on other sites More sharing options...
xcmir Posted July 17, 2008 Share Posted July 17, 2008 Best option it to probabily watermark it(if you own the copyright). You could also encrpt the HTML page using javascript, have a look on the net. But that is still decrypitable. Besides a screenshot will still get your image....so the best way is to probabily write copyright blah blah diagonaly across over the image and set opacity to 20% maybe????? Link to comment https://forums.phpfreaks.com/topic/115140-view-source-or-images/#findComment-592101 Share on other sites More sharing options...
didgydont Posted July 17, 2008 Author Share Posted July 17, 2008 thank you for the advice Link to comment https://forums.phpfreaks.com/topic/115140-view-source-or-images/#findComment-592104 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.