i want to make it so that when a user copies an image from a website and pastes this image in, say, their email client, the <a> tag URL which surrounds the image tag is not copied along with the image.
This was brought to my attention by a colleague who copied images from the website into Outlook which retained the URL somehow. As she did not want the URL to be sent to the recipient, only the image. I told her she could simply right click -> remove hyperlink but she didn't want to have to do this, And one could easily forget to.
The fix in my mind -> would be to have something in the html prevent the <a> tag from being copied when the user right clicks to copy image. Does anybody understand what I am trying to say? I can't really think of an analogy that would be relevant.
This was brought to my attention by a colleague who copied images from the website into Outlook which retained the URL somehow. As she did not want the URL to be sent to the recipient, only the image. I told her she could simply right click -> remove hyperlink but she didn't want to have to do this, And one could easily forget to.
The fix in my mind -> would be to have something in the html prevent the <a> tag from being copied when the user right clicks to copy image. Does anybody understand what I am trying to say? I can't really think of an analogy that would be relevant.
Comment