Kreative Flow Designs
Thanks for visiting Kreative Flow. You'll recieve the best tutorials, resources and graphic information here.

Do register if you are a guest for exclusive content only for members!


pictures unsaveable on websites

View previous topic View next topic Go down

pictures unsaveable on websites

Post by someoneinsane on Thu 26 Mar 2009, 11:38 am

What is the HTML code so people dont have the ability to rightclick and "Save Image As" and take the picture.
Like on this website

_________________

avatar
someoneinsane
Top Poster
Top Poster

Number of posts : 789
Flow Points : 852
Reputation : 9
Warnings :
0 / 1000 / 100

Mood :

View user profile

Back to top Go down

Re: pictures unsaveable on websites

Post by Adil on Thu 26 Mar 2009, 11:48 am

You mean where you cant use rightclick?

_________________
Three R's. Read all forum rules. Respect all members, Report all problems!



avatar
Adil
Founder
Founder

Number of posts : 2488
Flow Points : 3875
Reputation : 43
Warnings :
0 / 1000 / 100

Mood :

View user profile http://www.kreativeflow.net

Back to top Go down

Re: pictures unsaveable on websites

Post by someoneinsane on Thu 26 Mar 2009, 12:05 pm

Yes, thats what i mean.
Do you know the code?

_________________

avatar
someoneinsane
Top Poster
Top Poster

Number of posts : 789
Flow Points : 852
Reputation : 9
Warnings :
0 / 1000 / 100

Mood :

View user profile

Back to top Go down

Re: pictures unsaveable on websites

Post by Adil on Thu 26 Mar 2009, 12:37 pm

try tools > view code or something. Try to find the image there manually ? sorry.

_________________
Three R's. Read all forum rules. Respect all members, Report all problems!



avatar
Adil
Founder
Founder

Number of posts : 2488
Flow Points : 3875
Reputation : 43
Warnings :
0 / 1000 / 100

Mood :

View user profile http://www.kreativeflow.net

Back to top Go down

Re: pictures unsaveable on websites

Post by AxiuM1485 on Thu 26 Mar 2009, 12:50 pm

I used this once way back... i found the code somewhere lol.. i dont remeber it off hand but i'll see if i can find it for you.. the one i used i made a msgbox pop up to tell people they can't right click Smile

AxiuM1485
Top Poster
Top Poster

Number of posts : 769
Flow Points : 1524
Reputation : 17
Warnings :
0 / 1000 / 100

Mood :

View user profile

Back to top Go down

Re: pictures unsaveable on websites

Post by erione on Thu 26 Mar 2009, 9:21 pm

I don't know the code though some host have some features which disables right click, including everything and not only pictures.

_________________
| Universal.Rules |
A motto never lives up to it's principle when your not guided enough in life.
Yet, a simple smile is destructive enough to change ones view.



avatar
erione
Global Moderator
Global Moderator

Number of posts : 1285
Flow Points : 2110
Reputation : 21
Warnings :
0 / 1000 / 100

Mood :

View user profile

Back to top Go down

Re: pictures unsaveable on websites

Post by finnianm on Wed 01 Apr 2009, 7:05 am

I would be able to use this for some on my website.... for business, then i could post alot more logos i've done, because clients don't want them to be able to be downloaded.... tell me if you find it!

_________________
Lead Designer-VIP Resource Manager-Member Resource Manager
PORTFOLIO TEMPORARILLY DOWN
I crit Small Pieces, Large Pieces, and focus in abstracts. I do not crit Photography, or animation.

From Imastarfish!
Battles: 3W 0L
avatar
finnianm
Graphics Leader
Graphics Leader

Number of posts : 1334
Flow Points : 2765
Reputation : 78
Warnings :
0 / 1000 / 100

Mood :

View user profile http://www.finnianm.com

Back to top Go down

Re: pictures unsaveable on websites

Post by AxiuM1485 on Wed 01 Apr 2009, 7:41 am

Here you go put these codes in the
Code:
<head> </head>
.

No Right Click On Images
Code:

<SCRIPT LANGUAGE="JavaScript1.1">

<!-- Begin
function right(e) {
if (navigator.appName == 'Netscape' &&
(e.which == 3 || e.which == 2))
return false;
else if (navigator.appName == 'Microsoft Internet Explorer' &&
(event.button == 2 || event.button == 3)) {
alert("I'm sorry, The Right click option on your mouse has been disabled for the download window pages.");
return false;
}
return true;
}
 
document.onmousedown=right;
document.onmouseup=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (document.layers) window.captureEvents(Event.MOUSEUP);
window.onmousedown=right;
window.onmouseup=right;
//  End -->
</script>

This one is to prevent people from copying text

Code:

<script language="JavaScript1.2">
 
function disableselect(e){
return false
}
 
function reEnable(){
return true
}
 
//if IE4+
document.onselectstart=new Function ("return false")
 
//if NS6
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</script>

I haven't tested these to make sure if they work or not, but they should. Enjoy

AxiuM1485
Top Poster
Top Poster

Number of posts : 769
Flow Points : 1524
Reputation : 17
Warnings :
0 / 1000 / 100

Mood :

View user profile

Back to top Go down

Re: pictures unsaveable on websites

Post by someoneinsane on Wed 01 Apr 2009, 9:14 am

Thanks Axium, i shall definitly use this in the future.

_________________

avatar
someoneinsane
Top Poster
Top Poster

Number of posts : 789
Flow Points : 852
Reputation : 9
Warnings :
0 / 1000 / 100

Mood :

View user profile

Back to top Go down

Re: pictures unsaveable on websites

Post by AxiuM1485 on Wed 01 Apr 2009, 9:47 am

Glad to help Smile

AxiuM1485
Top Poster
Top Poster

Number of posts : 769
Flow Points : 1524
Reputation : 17
Warnings :
0 / 1000 / 100

Mood :

View user profile

Back to top Go down

Re: pictures unsaveable on websites

Post by erione on Thu 02 Apr 2009, 5:32 am

Thanks also Axium, I might use that in the future ^^

_________________
| Universal.Rules |
A motto never lives up to it's principle when your not guided enough in life.
Yet, a simple smile is destructive enough to change ones view.



avatar
erione
Global Moderator
Global Moderator

Number of posts : 1285
Flow Points : 2110
Reputation : 21
Warnings :
0 / 1000 / 100

Mood :

View user profile

Back to top Go down

Re: pictures unsaveable on websites

Post by 88cool on Mon 06 Apr 2009, 7:19 pm

I'll be sure and keep this in mind when I have an important image that I worked on for a long time. Thank you.

88cool
New Member
New Member

Number of posts : 19
Flow Points : 39
Reputation : 0
Warnings :
0 / 1000 / 100

Mood :

View user profile

Back to top Go down

Re: pictures unsaveable on websites

Post by Henryz on Wed 08 Apr 2009, 5:18 am

Only wish that it couldn't be disabled Sad Web Developer plugin would ruin it Neutral
avatar
Henryz
Gold Member
Gold Member

Number of posts : 109
Flow Points : 241
Reputation : 3
Warnings :
0 / 1000 / 100

Mood :

View user profile http://www.webvicious.com, http://www.Henry.Brown.Name

Back to top Go down

Re: pictures unsaveable on websites

Post by tommo on Sat 09 May 2009, 6:52 am

if you have google chrome just use ctrl+u even if right click is disabled it still works
avatar
tommo
Adv. Member
Adv. Member

Number of posts : 260
Flow Points : 155
Reputation : 9
Warnings :
25 / 10025 / 100

Mood :

View user profile

Back to top Go down

Re: pictures unsaveable on websites

Post by Bekki on Mon 11 May 2009, 6:31 am

Thanks for the code. May use it in the future. Like when I do tutorials for my site and not wanting the people to take the images.
avatar
Bekki
Gold Member
Gold Member

Number of posts : 124
Flow Points : 240
Reputation : 4
Warnings :
0 / 1000 / 100

Mood :

View user profile

Back to top Go down

Re: pictures unsaveable on websites

Post by AxiuM1485 on Mon 11 May 2009, 7:27 am

Smile your welcome. Like i said though this isn't a full proof way but, its something. There is always a way around something though.

AxiuM1485
Top Poster
Top Poster

Number of posts : 769
Flow Points : 1524
Reputation : 17
Warnings :
0 / 1000 / 100

Mood :

View user profile

Back to top Go down

Re: pictures unsaveable on websites

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum