-
Aug 4th, 2020, 07:17 PM
#1
Thread Starter
PowerPoster
How do I protect an image in a new Window from being downloaded?
I'm working on a website that contains a link that when clicked on, will open a new html page loaded with a photo gallery. These photos are small; 300 width x height=auto.
The user may click on an image and from that point, it will open a new Window Tab. What I need to be able to do is protect the images from being downloaded on this new larger sized image Tab. Any ideas on this?
Thanks,
-
Aug 4th, 2020, 08:23 PM
#2
Re: How do I protect an image in a new Window from being downloaded?
-
Aug 4th, 2020, 10:11 PM
#3
Thread Starter
PowerPoster
Re: How do I protect an image in a new Window from being downloaded?
Well, I know you can protect images from being downloaded so, there has to be a way...
-
Aug 4th, 2020, 10:41 PM
#4
Re: How do I protect an image in a new Window from being downloaded?
Give an example of a site that does this.
If a browser can display the image, there's a way to get the image. And even if you could theoretically block image download, you can't stop people from taking a screenshot.
-
Aug 4th, 2020, 10:49 PM
#5
Re: How do I protect an image in a new Window from being downloaded?
I had to laugh at the results when doing a google search for this. The first suggestion was to implement javascript code that disables right-clicking on your web page. That took me back. 1999 web page "security". The fact that that is still the #1 suggested "solution" for this should be quite telling.
Good luck.
-
Aug 16th, 2020, 03:31 AM
#6
New Member
Re: How do I protect an image in a new Window from being downloaded?
This can be done setting contextmenu to false.
But trust me, is of no use cos someone can just hit ctrl+s and still save the image to a folder. So is a wasted effort!!!
-
Aug 16th, 2020, 12:34 PM
#7
Thread Starter
PowerPoster
Re: How do I protect an image in a new Window from being downloaded?
Well, for someone who wishes to use the image professionally, like in an advertisement, it's not a wasted effort. Whoever is dumb enough to execute a ctrl+s obviously isn't concerned with the quality of the image. I know it's possible for an image to be saved...even if you do a screenshot. I just want to make it more difficult for someone to try and steal an image.
-
Aug 17th, 2020, 10:47 AM
#8
Re: How do I protect an image in a new Window from being downloaded?
If the image is that valuable, watermark it.
-tg
-
Aug 17th, 2020, 12:41 PM
#9
Thread Starter
PowerPoster
Re: How do I protect an image in a new Window from being downloaded?
tech,
I'm actually trying to do that. I'm looking for a javascript routine that will accomplish this. So if you know one, plz send it to me!
-
Aug 17th, 2020, 03:42 PM
#10
Re: How do I protect an image in a new Window from being downloaded?
googled "add image watermark with javascript" and this was the first thing:
https://www.jqueryscript.net/other/A...watermark.html
untested...
-tg
-
Aug 17th, 2020, 04:10 PM
#11
Thread Starter
PowerPoster
Re: How do I protect an image in a new Window from being downloaded?
Thanks tech...I actually found this link to and am trying to get it to work as we speak.
-
Oct 10th, 2020, 03:39 AM
#12
New Member
Re: How do I protect an image in a new Window from being downloaded?
Originally Posted by blakemckenna
I'm working on a website that contains a link that when clicked on, will open a new html page loaded with a photo gallery. These photos are small; 300 width x height=auto.
The user may click on an image and from that point, it will open a new Window Tab. What I need to be able to do is protect the images from being downloaded on this new larger sized image Tab. Any ideas on this?
Thanks,
Just add your brand logo on that. If someone will download that he or she will get your logo too.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|