How to prohibit the preservation of pictures of the site on the iPhone. in safari browser

Closed due to the fact that the essence of the issue is incomprehensible by the participants αλεχολυτ , Grundy , Denis , Alex , user194374 26 Nov '16 at 9:50 .

Try to write more detailed questions. To get an answer, explain what exactly you see the problem, how to reproduce it, what you want to get as a result, etc. Give an example that clearly demonstrates the problem. If the question can be reformulated according to the rules set out in the certificate , edit it .

3 answers 3

Translation of the answer to a similar question in English


I think pointer-events should help in this case.
Just add:

<img src="path/to/image.png" style="pointer-events:none" alt=""> 

And everything should be fine.

  • No, it does not work on the iPhone ... - Victor Victor
  • one
    @ViktorViktor, what exactly does not work? how do you check? what iphone? what ios? which browser do you watch? Add all this information to your question. - Grundy
  • in safari browser only, the rest are not saved - Victor Victor
  • 3
    @VictorViktor, what are the answers to the other questions? Add this information to your question - Grundy

You can use background-image instead of img , only, perhaps, then the pictures will be loaded later. Still, as an option, you can close them on top of transparent blocks.

     img{-webkit-touch-callout: none;}