code. Script. Or whatever it is needed.

They have: 5 posts

Joined: Jul 2003

Confused
On a site there is a gif picture. You right click and save, except it isn't there. Seems there is a mask over it. So, I went to properties and got the address where that named gif was to be. Not there. What is the script for this "mask" ? I do not know the actual term. Thanks.

The Webmistress's picture

She has: 5,586 posts

Joined: Feb 2001

Why are you trying to pinch someone elses pictures?

They have: 5 posts

Joined: Jul 2003

I do not want to steal the pic, I merely want to know the "trick". A friend pointed it out to me. I was impressed. Geez.

The Webmistress's picture

She has: 5,586 posts

Joined: Feb 2001

OK, just wanted to be sure! Wink

Can you post the url so we can look at the site it is on and mabe see what their trick is?

Jack Michaelson's picture

He has: 1,733 posts

Joined: Dec 1999

Probably you mean a div on top of (another div with) a picture.

They have: 5 posts

Joined: Jul 2003

Smiling
Ok. So how is this div done. Can you maybe refer me to a website telling how to do it? Thanks.

Jack Michaelson's picture

He has: 1,733 posts

Joined: Dec 1999

<div style="z-index:1; position:absolute; left:1px; top:1px"><img src="TheNotClickableGif.gif" width="200" height="200"><div>

<div style="z-index:2; position:absolute; left:1px; top:1px; width:200px; height:200px;"><img src="TransparentGif.gif"  width="200" height="200"><div>
'

This is a way how it could be done I guess (didn't test it).
Does it solve your problem?

Shakespeare: onclick || !(onclick)

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

Jack, that's a good idea, but I think It'd be much easier to do this:

Alternative text describing the hidden image

And in the stylesheet:

#somename {
background-image: url(realimage.jpg);
}

Jack Michaelson's picture

He has: 1,733 posts

Joined: Dec 1999

Haha!
Yeah that's also a good solution Wink

JeevesBond's picture

He has: 3,956 posts

Joined: Jun 2002

It's still easy to get the image though, I doubt it's a "trick" to stop people downloading the image, more like CSS for a background image.

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

If an image is on the web, it's easy for someone to get it. Unless you're going to password protect everything, and track the users and follow them around making sure they don't use the image anywhere (a Herculean task for even a handful of users), you have to accept that if it's online, people can take it.

They have: 5 posts

Joined: Jul 2003

Thank you for all your help. I will try what you have given me.

As far as someone still being able to get image. I did manage to get to the image that had me stumped. I got to it only because I had some knowledge, but not everyone knows how it all works. Webmasters do but many people that just surf don't (a lot of people that frequent porn might know though). I knew of the code that stops right clicking to save and how to get around it, but I had not run into this layering before.

Thanks again for your help. I will let you know how it goes.Cool

They have: 5 posts

Joined: Jul 2003

I used the code Jack gave and it worked. Thanks!

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.