0

so I'm building a site on a service called ClickFunnels and I wanted to create a download button for one of the images we're hosting. Unfortunate the domain of our image assets is different from the domain I'm trying to put this code on. I read somewhere that the domain path of the image must resolve to the same domain that this code is in. Given that I cannot upload the image to same domain, is there a way to make this download button work normally?

<!-- Add icon library -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">

<!-- Auto width -->
<center>
  <button class="btn">
    <i class="fa fa-download"></i>
    <a href="otherdomain.com/image.jpg" download="image.jpg">Download</a>
  </button>
</center>

0 Answers0