title: How to access Google drive image in canvas
body: <p>I want to export google drive image using DataUrl() from canvas. To make CORS-enabled images with canvas, i was added cross="anonymous" attribute in img tag. </p>
  
  <pre><code>&lt;img crossOrigin="anonymous" src="https://drive.google.com/uc?id=0By1uZFYMEbpuSFlFa1h5Y2o0a1k&amp;export=download" id="media_img" /&gt;
  </code></pre>
  
  <p>But it showing error </p>
  
  <blockquote>
    <p>Redirect from '<a href="https://drive.google.com/uc?id=0By1uZFYMEbpuSFlFa1h5Y2o0a1k&amp;export=download" rel="nofollow noreferrer">https://drive.google.com/uc?id=0By1uZFYMEbpuSFlFa1h5Y2o0a1k&amp;export=download</a>' to '<a href="https://doc-0g-ac-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/rn783m94dmuq387i8t74c2cse5pfvoti/1526457600000/05627031542031468169/" rel="nofollow noreferrer">https://doc-0g-ac-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/rn783m94dmuq387i8t74c2cse5pfvoti/1526457600000/05627031542031468169/</a>*/0By1uZFYMEbpuSFlFa1h5Y2o0a1k?e=download' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '<a href="http://localhost:8002" rel="nofollow noreferrer">http://localhost:8002</a>' is therefore not allowed access.</p>
  </blockquote>