Jump to content

Gamicord

Members
  • Posts

    1
  • Joined

  • Last visited

Gamicord's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. I am creating a simple HTML Website on my laptop. So I created a simple HTML Mark up like this: <img src="Will Logo.png" alt="Logo"> <a href="Will Logo.png" download>Download Image</a> When I click the link, it doesn't download the Image, it opens it in a new window. I have tried it on Edge, Chrome and Firefox, and the result is the same-- the Image doesn't download. It simply opens up in a new window. Is there some settings that I need to enable, for this HTML5 download attribute to work? 2.) When I reference this discussion from this same W3C Forum ( The person said "This might not work on the computer's local filesystem due to security restrictions in some browsers because of the same-origin policy which usually excludes the local filesystem." Is it because I am trying to download within my Laptop, and that is why it is not working? Does it treat the file from within my laptop as a "same origin policy that excludes my local file system"? Is this the problem? Regards.
×
×
  • Create New...