inspiral-web
inspiral-web copied to clipboard
Local download shouldn't upload to Imgur
Currently, downloading a creation involves the following steps:
- User clicks the "Download image"
- The image is uploaded to Imgur
- The user is redirected to a page that embeds the uploaded image from Imgur
We could simplify this a bit by using canvas.toDataUrl()
:
- User clicks the "Download image"
- The application calls
canvas.toDataUrl()
and downloads the file locally.
The main advantage of this approach is that local downloading would work even if Imgur is blocked, as it is in many context (i.e.schools).