Upload image using file_get_contents
Is it possible to upload image from file_get_contents, for example if got it from mail attachments, or i need to save it first like local file and then send to \Cloudinary\Uploader::upload ?
Thank you
0
-
Cloudinary supports uploading from data-URI. So you can send a data-URI representation of the image.
Alternatively usefile_get_contents
and convert it to DATA URI to upload to Cloudinary.0
Post is closed for comments.
Comments
1 comment