I have used cloudinary. I have uploaded an image to cloudinary and I want to get that image status from cloudinary that it is uploaded or not using cloudinary URL or from image name.
I am using jQuery and I want to display a list of images with their status uploaded on cloudinary. I have URL stored in my database.
Can anyone have an idea on this?
You can utilize the upload response (JSON) for this matter, as described here.
Related
I use github sample to upload image file to dropbox and It's OK,
But after upload, HOW CAN I get link of uploaded file? Such as:
https://www.dropbox.com/s/wiczs1cbhwveq5p/2017_Penguins.jpg?dl=0
It used to record again (in my database) to download this file later, with:
javascript/download/index.html
To get a shared link for a file using the Dropbox API v2 JavaScript SDK, you can use the sharingCreateSharedLinkWithSettings method.
i am using Cloudinary gem + carrierwave + JqueryFileUpload to configure an ajax display image once it is uploaded.it is working if i save the image to local folder (asset/images) but not with cloudinary.
with Ajax, the image is shown immediately with the image src loaded (through partial render), but with cloudinary, the src is not fetched with Ajax resulting in blank image uploaded. i will need to reload the page in order to see the uploaded image.
please advise or request specific codes to post for you all to assist on this.
thanks.
I am using REST client to upload a profile photo to IBM connections but i am struck at the part where you have to send binary image file along with the PUT request. So far I've done this:-
request.put("https://servername.com"/profiles/photo.do?
key="profileuserID"),
ContentType:image/jpeg
i have tried to put insert image by encoding it into base64 format or adding into file field in REST client. But it always returns nothing. It does remove the previous profile picture but it doesnt upload the new one.
Now i want to ask how to include binary image file in the request payload?
I`m trying to add pictures to reviews on opencart products.
I use jquery.form.js (from here)
I get the name of the file(C:fakepath/Image.png),but I cant proceed from there.I cant figure our there exactly is this file located on the server.
Any help will be appreciated!
C:fakepath/Image.png is the path generated by browsing on windows when you are uploading the image with a input type file. You need to post the image on the server to get your image server path.
I've done some looking at the Cloudinary API and upload examples for NodeJS, and it looks like the server-side uploads use a file path. Meanwhile, the client-side uploads require a frontend input tag. I already have a frontend for users to select and crop a picture to their liking, and this gives me a data URI. I'd like to save this file to Cloudinary without having to use their built in frontend option. Is this possible? This would basically mean that I would be able to call some kind of upload function that can take a URI or file blob.
Cloudinary supports uploading files using a data-URI encoded string too.
Please make sure that you send your content as a Data-URI as explained here: http://en.wikipedia.org/wiki/Data_URI_scheme.
For example, in Node.js:
cloudinary.uploader.upload("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",
function(result) {console.log(result)});