javascript - Is it possible to convert an image from an external source to a base64 string client side? -
i have tried convert image external source base64 string using html , todataurl() , canvas tag , not work. throws dom exception 8 security exception, later found doesn't allow convert these images external source.
i have setup way doing server-side, wanna reduce load on server downloading images. there way around this?
you can fetch image on server side relay client proxy. if fetched on server, have client-side js conversion. server not conversion, act bridge work around security issue.
Comments
Post a Comment