• PPP The Second Time Around
    The Emergency Coronavirus Relief Act of 2020 passed in December contained $284 billion for the renewed Paycheck Protection Program (PPP). Click here to read the article.

How can I keep picture om my site from hijackers

Aussie Topcat

LawnSite Member
Can anyone help me, I am almost ready to attach my photos to my site of work I have done.

How can I stop them from being hijacked & used by people on their sites.

This is a concern of my clients & I have been asked to find out before I have the okay to post them.

Can anyone offer any help- My site is a freewebs site for now!


LawnSite Platinum Member
the caution i would throw at disabling right-clicks is the potential alienation of some visitors who like to right-click internal/external links for "open in new window". that's one of the more frustrating things i encounter on websites (besides flash loads). both of those historically scored very low in various usability studies i've run. besides, if anyone wants to go through the effort of stealing your pics, by right-click "save picture as", they can just as easily do a screen capture and still end up with your pics.

if it was a must-have to secure your pics, i'd probably follow ritchie's advice of watermarking.



LawnSite Senior Member
I agree, no-right-click is cheesy and ticks people (me) off. It belongs on porn sites.

Watermark them, or just accept the fact that once you put it out there anybody can take it.

Team Gopher

LawnSite Platinum Member
<Table width="100%" bgcolor="#DDDDDF"><TR><TD><font color="#000000">Have a tax question? Need free business advice? Ask our CPA. Click Here </font></TD></TR></Table>
Hi Aussie Topcat,

I am sorry this happens. If you see your pictures used on other sites, you can and should contact them to have them removed.
<table width=100%>
<tr bgcolor="#C0C0C0"><td align=left><a HREF="http://www.gophersoftware.com/?ref=1">Download and try Gopher Free for 30 days.</a><BR>See if we can help you.</td><TD align="center"></td><td></td></tr></table>
<center>Free Web Templates. Make your own logo Free.</center>


LawnSite Bronze Member
New Hampshire
a website developer would know. I used to run a political website and we made the pictures so that noone could copy them. , don't know how it was done but it was.


LawnSite Gold Member
A2, Michigan
There's really nothing you can do. Watermark them so no one steals them, that's about it. Even disabling the right click option can be bypassed if someone knows how to read your code and find the picture that way.


LawnSite Fanatic
betterlawn said:
I agree, no-right-click is cheesy and ticks people (me) off. It belongs on porn sites.

Watermark them, or just accept the fact that once you put it out there anybody can take it.
Yeah, no offense to anyone's intelligence but even IF someone does it, what can you do, honestly?

It took time for me to accept this myself, but over the years I've become less concerned about actual copying, part of what helped me deal with it is the realization that a copy is the most sincere form of flattery. Today, someone copies parts or even whole sections of my site, I take it as a compliment someone thought it was SO good it deserved to be copied :)
Heck, half the time it's just someone's 8-year old kid fooling around a bit, they wanted to build a Web site or something...

However, the ONE thing I do NOT like is when someone hotlinks my pictures or really, any file on my site - By hotlinking I mean they offload the content from my server via their site, and for that matter I would MUCH rather have them copy it to THEIR server then link it direct, which not only decreases THEIR load-times but it stops consuming my bandwidth and resources as well...
An example of hotlinking would mean THEIR site's image tag reads 'alt img="http://yourdomain.com/images/yourimage.gif" etc', effectively offloading the image from your server onto their site.

So, to stop hotlinking however, you need at least a virtual host AND the ability to create an .htaccess file.
IN this .htaccess file, this script stops MOST hotlinks:
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(www\.)?yourdomain.com.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?yourdomain.com:80.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?lawnsite.com.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?lawnsite.com:80.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://site.numeric.IP.address.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://site.numeric.IP.address:80.*$ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule \.([mid|wav|exe|zip|mod|com|avi|wmv]+)$ http://yourdomain.com/403.shtml [R]

1) Replace yourdomain.com with your site's actual domain name.
2) Include lawnsite.com if you wish to show pics HERE that are hosted on your server, also ADD any dotcoms which you WANT to allow hotlinking (such as T-100 lists that might carry your site's banner or button).
3) For site.numeric.IP.address, enter the actual numbers corresponding to this, (for example for atopqualitysite.com, the numeric IP address is - this is USUALLY available someplace under server info (sometimes Whois) AND it should LOAD your site when typed into the browser bar, such as {but not always}).
4) The last line requires you have a file in your main html directory by the name of 403.shtml, can also be called 403.html and this is your site's 403 error page, which helps clue hotlinkers in. For an example of what a 403 error might look like, here's mine:
http://atopqualitysite.com/403.shtml (very boring, rest assured).