Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Prevent picture ripping

Asked Modified Viewed 3,321 times
T
ThomasR
T
  • Junior Member, joined since
  • Contributed 46 posts on the community forums.
  • Started 16 threads in the forums
  • Started this discussions
asked
Junior Member

Hi,

I was wondering if there is existing a code to block an iPhone or iPad from ripping a picture from a website.

When you use safari on an iDevice, you can hold your finger on the picture and you get the option to save the picture to your iDevice..

It could be nice if there was a code to stop this...

Best regards
ThomasR
0 replies

10 posts

P
PolarFox
P
  • Veteran Member, joined since
  • Contributed 1,633 posts on the community forums.
  • Started 29 threads in the forums
answered
Veteran Member

Prevent picture downloading - you only can remove all your pictures from the site...
0 replies
J
JoiNNN
J
JoiNNN 10
  • Veteran Member, joined since
  • Contributed 850 posts on the community forums.
  • Started 100 threads in the forums
answered
Veteran Member

Quote

PolarFox wrote:

Prevent picture downloading - you only can remove all your pictures from the site...

True that, LOL.

If you only want to prevent the appearance of that option it can be done in a few ways.
0 replies
T
ThomasR
T
  • Junior Member, joined since
  • Contributed 46 posts on the community forums.
  • Started 16 threads in the forums
  • Started this discussions
answered
Junior Member

@PolarFox, Yes I know... Then there is meaning in doing a photosite....

@JoiNNN, I know about right click, and no drag.. But not the code to prevent it from an iDevice.
0 replies
J
JoiNNN
J
JoiNNN 10
  • Veteran Member, joined since
  • Contributed 850 posts on the community forums.
  • Started 100 threads in the forums
answered
Veteran Member

One way to do it is to use some CSS, for example if you have
[syntaxhighlighter brush=html,first-line=1,highlight=0,collapse=false,html-script=false]<img alt='my img' src='images/my_image.jpg' />[/syntaxhighlighter]
you can do
[syntaxhighlighter brush=html,first-line=1,highlight=0,collapse=false,html-script=false]<img alt='my img' src='images/blank.gif' style='background: url(images/my_image.jpg) no-repeat' />[/syntaxhighlighter]
where blank.gif is a 1x1px transparent gif image, this also has a touch of trolling, as the person trying to save the photo will get just an empty image.

Other solution is to position a <div> over the <img>
[syntaxhighlighter brush=html,first-line=1,highlight=0,collapse=false,html-script=false]<div class='image_container' style='position:relative'>
<img alt='my img' src='images/my_image.jpg' />
<div class='overlay' style='position:absolute; top:0; left:0; width:100%; height:100%'></div>
</div>[/syntaxhighlighter]
0 replies
T
ThomasR
T
  • Junior Member, joined since
  • Contributed 46 posts on the community forums.
  • Started 16 threads in the forums
  • Started this discussions
answered
Junior Member

So now the big question is..

How do i implement this in the gallery i PHPFusion?
0 replies
T
Tyler
T
Tyler 10
Helping, would be pointing you in the right direction, not doing it all for you.
  • Member, joined since
  • Contributed 198 posts on the community forums.
  • Started 3 threads in the forums
answered
Member

Unreal. You first ask how you could do it. now that you have that answer you want it done for you. I'm aware of the ipad's popularity but I doubt all your visitors will have ipads. therefore the images can always be retrieved. I know on my android I can use a app to save the websource and all of the elements. I think any time spent on this is a waste - sorry. it is the internet after all...
0 replies
T
ThomasR
T
  • Junior Member, joined since
  • Contributed 46 posts on the community forums.
  • Started 16 threads in the forums
  • Started this discussions
answered
Junior Member

You know if there was a solution it could be perfect...

And yes, your right.. it is the internet... If someone wants the picture they will get it...

But thanks anyway everybody ;o)
0 replies
J
JoiNNN
J
JoiNNN 10
  • Veteran Member, joined since
  • Contributed 850 posts on the community forums.
  • Started 100 threads in the forums
answered
Veteran Member

If you implement any of the solutions described above will still leave you the ability to right click and Open the link in a new tab or click the middle click linking directly to the image.
0 replies
W
Wanabo
W
Wanabo 10
www.probemyip.com/probe-my-ip-80x15.png
pHp-Fusion.Asia & pHp-Fusion.Fr & pHp-Fusion.Cn are available for a localized support community. Send PB for info.
  • Senior Member, joined since
  • Contributed 598 posts on the community forums.
  • Started 94 threads in the forums
answered
Senior Member

Why don't you put a watermark on your pictures. If some one wants a picture without watermark you can provide it (after payment).
0 replies
T
ThomasR
T
  • Junior Member, joined since
  • Contributed 46 posts on the community forums.
  • Started 16 threads in the forums
  • Started this discussions
answered
Junior Member

There is watermark on them... but thanks for the tip ;-)
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 10 posts
  • Votes 0 votes
  • Topic users 5 members

5 participants

T
T
  • Junior Member, joined since
  • Contributed 46 posts on the community forums.
  • Started 16 threads in the forums
  • Started this discussions
W
W
Wanabo 10
www.probemyip.com/probe-my-ip-80x15.png
pHp-Fusion.Asia & pHp-Fusion.Fr & pHp-Fusion.Cn are available for a localized support community. Send PB for info.
  • Senior Member, joined since
  • Contributed 598 posts on the community forums.
  • Started 94 threads in the forums
P
P
  • Veteran Member, joined since
  • Contributed 1,633 posts on the community forums.
  • Started 29 threads in the forums
J
J
JoiNNN 10
  • Veteran Member, joined since
  • Contributed 850 posts on the community forums.
  • Started 100 threads in the forums
T
T
Tyler 10
Helping, would be pointing you in the right direction, not doing it all for you.
  • Member, joined since
  • Contributed 198 posts on the community forums.
  • Started 3 threads in the forums

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet