Sending images to my miniPaint instance from the URL
Consider I have an image hosted on example.com/image.png and I have myminipaint.com on another server.
What I have in mind is that using it like this:
myminipaint.com/#image=example.com/image.png
Somehow like what photopea does with their API's.
Is it possible?
Yes, here is example for you: https://viliusle.github.io/miniPaint/?image=http://i.imgur.com/ATda8Ae.jpg
p.s. make sure your URL on exampe.com provides correct CORS headers (so not all cases will work because of this reason)
Thanks, I faced CORS error on a lot of URL's, so I ask another question, is there any option for Base64 images?
Yes, but only with Menu: File > open > open data URL
I see.