It appears you have not yet registered with our community. To register please click here.

Origin XT RPG Network Home

Tip - Stop People Stealing Your Images, HTML


Feb 28 2006, 06:50 PM (Post #1)
Member Of The Year 2005
* * * * * * * * *
Posts: 10,363
Cash: -77,174 / 11,869,762
Group: Administrator
Joined: 2/28/03 10:58 AM
Found out a neat trick that allows you to keep your images hidden.

CODE
<tr><td align="center" colspan="3"><table border="0" cellpadding="0" cellspacing="0" background="XURL" class="blank"><td><img src="YURL" border="0" width="Z1" height="Z2"></td></tr></table></td></tr>


Simply replace:

XURL = your image (replace with the url)
YURL = a blank image (replace with the url)
Z1 = your image width (replace with number)
Z2 = your image height (replace with number)

and obviously replace all the other numbers with your specifications.

And there you have it. Instead of a simple picture that anybody could right-click and save, you now have a picture with another blank picture on top of it. Viewers can see your image, but can't right click it. If they try, they will just save the blank image. Most would be too confused to try to figure out what went wrong, although a simple look at your page source would discover what happened. There are many ways to deter even this, such as URL redirecting, adding in spam code to confuse, but that is for another article.

I am even so kind I have included a blank image that you can use on top of your images, and an example of how this actually looks below:

Blank Image (Right Click --> Save As. Do not hotlink!)

Working example of the code.

Enjoy, experiment, and have fun with this! sbiggrin.gif
Post Options

 
Mar 1 2006, 06:27 PM (Post #2)
Foot Soldier
* * * *
Posts: 791
Cash: -47 / 2,385
Group: Citizen
Joined: 9/29/03 06:23 PM
Ai this is a good code but there is a flaw with this as there is with all code and this is that it doesnt work in Firefox as i can still save the image etc swink.gif
Post Options

Mar 1 2006, 08:42 PM (Post #3)
Origin's Photographer.
* * * * *
Posts: 1,549
Cash: 126,717 / 475,510
Group: Nobility
Joined: 7/16/05 10:43 PM
Yeah. He's right. Firefox just takes the image.
Post Options

Mar 3 2006, 11:23 PM (Post #4)
Member Of The Year 2005
* * * * * * * * *
Posts: 10,363
Cash: -77,174 / 11,869,762
Group: Administrator
Joined: 2/28/03 10:58 AM
I am using the newest version of Firefox, and it works for this o_0
Post Options

Mar 4 2006, 12:57 AM (Post #5)
Democrats won 2006! YES!
* * * * * *
Posts: 1,833
Cash: -13,834 / 151,931
Group: Nobility
Joined: 8/07/05 03:15 AM
I'm also using the newest version of Firefox and it works. (That's version 1.5)
Post Options

Mar 4 2006, 09:23 AM (Post #6)
Foot Soldier
* * * *
Posts: 791
Cash: -47 / 2,385
Group: Citizen
Joined: 9/29/03 06:23 PM
Ahhhh it works now good work mate
Post Options

Mar 4 2006, 04:13 PM (Post #7)
Member Of The Year 2005
* * * * * * * * *
Posts: 10,363
Cash: -77,174 / 11,869,762
Group: Administrator
Joined: 2/28/03 10:58 AM
I can't take all the credit, I basically took what IMDB use and modified it slightly.
Post Options