Developer APIs
Discussion List
-
Error message "Missing required parameter - api_key"
I'm attempting to do a signed upload using the Cloudinary widget. I'm creating a signature for the request on the backed in PHP using the PHP Cloudinary SDK. My backend signing code is: $options = array( "cloud_name" => [*my cloud name*], "api_key" => [*my api key*], "api_secret" => [*my api secret*], ); $timestamp =…
-
How can I get an original video file by public ID without knowning the file extension?
Hi, I'm using the Cloudinary Java SDK to generate URL's for videos. I have the public ID of a video and I am trying to generate a URL to get that video without applying transformations. I'm running into trouble because I don't have the file extension of the uploaded video and I have strict transformations enabled. The URL…
-
Ideas for local access of Cloudinary content to application server?
Our company is in the process of transitioning from a legacy DAM system to Cloudinary. Although the majority of our content can be migrated seamlessly, we are encountering some challenges with a specific type of file that requires local accessibility, i.e., it needs to be mounted onto specific application servers. These…
-
Setting tags and retrieving pHash while using Active Storage (Rails)
Hello, 👋 I would like to know if there's a way to do the following : Set tags directly in the attach method (Active Storage) without making a second API call Something like @item.photos.attach(io: file, filename:filename, content_type: 'image', cloudinary{tags: ["dog","cat"]}) Retrieve the pHash for a photo directly from…
-
Problem retrieving resource details when the resource is in a folder
I'm using the node sdk, to hit the Admin API const result = await cloudinary.api.resource(public_id,{resource_type:'video'}) Which works fine when the resource is in the root, but not when it is in a folder. cloudinary.search returns a public_id of "path/to/my-asset-123456" cloudinary.api.resource returns an error whether…
-
Cloudinary video player, non public access
Hi everyone, I want to create a video player that allows users to view private videos. Im returning a list of videos from a backend. I implemented it originally with videos with public access and all worked well var playlistSources = videos.map(video => ({ publicId: video.id, info: { title: video.name + '_' + video.year,…
-
How do I resize an image on upload via a signed URL?
Hi, apologies if this question already has been asked but I searched the docs and did not find an answer or everything I tried resulted in an error. I am currently generating a signed upload URL as follows on the server: ` const signature = cloudinary.utils.api_sign_request( { timestamp }, CLOUDINARY_API_SECRET );` Then,…
-
Can cloudinary images work within power bi
I am adding the below code as a measure to d3.js cutom visual in power bi. however it is not giving me any image neither the script has errors. Can cloudinary images be displayed as visual in power bi. if yes, HOW? <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible"…
-
I cannot upload image using unsigned upload, and I don't know why., here's my code
if(pics.type === "image/jpeg" || pics.type === "image/png"){ const data = new FormData(); data.append("file", pics); data.append("upload_preset","chat-app"); data.append("cloud_name", "myfapiassesment"); fetch("https://api.cloudinary.com/v1_1/myfapiassesment/image/upload", { method:"post", body: data, }).then((res) =>…
-
Add values to structured metadata fields using API/SDK
Able to set values for multiselect dropdowns and strings, but run into errors when setting value for single select dropdowns. The errors states the value being assigned is not valid, looking at the fields in Cloudinary, the value is valid, tried external_id and value, same error on both. Code List<string> values = new…
-
Structured metadata pseudo-array using "string" with comma-delimited data
My company has need of an array type field for structured metadata. This currently doesn't exist as an option for "Cloudinary Assets" (formerly DAM). To address this need, I have been given the recommendation to use a string type and have the value be a comma-delimited set of data. This seems to work, but there are some…
-
Is it possible to change the upload presets of an asset, without deleting it ?
I need to change the upload preset of an asset, without deleting it? Is it possible to change it via SDK's ?
-
Uploading with the same public id
Hi there. I am trying to have an image accessible at a certain link: "/upload/public_id" and for that to be overrideable and for the new image to completely replace the old, and be accessible by the same link. The problem I currently have is that the first image for a certain URL will work as expected but then further…
-
How does automatic quality detection work?
Can you tell me which browser headers your CDN uses to determine the browser type? Thx)
-
Do eager transformations get regenerated if used from a named transformation that has been modified?
If I create a named transformation that is used as an eager transformation in an upload preset, what happens when the configuration for the named transformation changes? Does the updated transformation get re-generated on-the-fly the first time the transformation is accessed after the config change, or does Cloudinary not…
-
I need help overlaying a Cloudinary image in another Cloudinary in React
I'm not sure why I can't figure this out, I've literally tried everything! Overlay isn't working properly for me. Here is my react code: <Image publicId={publicId}> <Transformation overlay="v1682478917/youdesignai/noAuthUser/qald4f8keeumoehhei3t" width="70" /> </Image> very simple right? Here is my URL of the first image:…
-
Error While uploading
Whenever I am trying to upload any image to cloudinary it is giving me the error that connect ETIMEDOUT 64:ff9b::22ea:fe26:443
-
Vincent Omigie
My application can't connect to my cloudinary account when i try to upload pictures to cloudinary.
-
Image mockup automation for product graphics - Is this a thing?
Newbie question: Is there a way to use cloudinary to make mockups? I'm a visual artist and would like to automate the process of creating mockups of my art on various products and placed in different lifestyle settings. Here is an image of one of my paintings: And here is the painting in a photoshop mockup depicting it as…
-
Webhook notifications firing more than once
I'm still testing my application (NET 6 WebAPI) using Visual Studio 2022's new dev tunnel that gives me a live URL to test with. I put that URL in the 'Notification URL' box in the Upload page of my console settings. When I make any change to any of my images in the console, my breakpoint is hit inside my app. But, then a…
-
Are credits charged for each request? How can I mitigate the cost?
Hello, First things first - thank you for such a lovely service and your help. These tools are taking my personal projs. to higher levels. Second - I'm wondering about how to mitigate credit usage in a Next.js app. I have a few images and a video uploaded to the CDN. In the Next app I am using your <CldImage/> and…
-
Upload Widget: Set default filters values in Advanced (Relevance and Orientation)
How can I set those filters to a given default value? Thanks.
-
Upload Widget: How to set a different font-size in the source labels?
I guess all is in the question :-). I could not find a reference in the Cloudinary Widget API. I tried as the following options without success: styles: { fonts: { default: null, font-size: '30px', size: '30px', "'Kalam', cursive": { url: "https://fonts.googleapis.com/css?family=Kalam", active: true, font-size: '30px',…
-
Can you use query parameters instead of url paths?
For example instead of https://res.cloudinary.com/demo/image/upload/c_crop,h_200,w_200/docs/models.jpg, could you give it something like https://res.cloudinary.com/demo/image/upload/docs/models.jpg?t=c_crop,h_200,w_200 and that would do the same transform?
-
Video Concatenation in React.js
I am trying to concatenate one video to another in react.js, but the code snippet I copied from the docs isn't working. new CloudinaryVideo("kitten_fighting.mp4") .resize(fill().width(300).height(200)) .videoEdit( concatenate( videoSource("dog").transformation( new Transformation().resize(fill().width(300).height(200)) )…
-
cloudinary.uploader.upload not working
Hi I'm trying to use Cloudinary to store my images in a MERN stack project. So basically I converted my image upload in the front end to a base64 string, have the data:image/jpeg;base64 removed and send them to my API. Now in my Controller file I wrote something like this: const postDog = async(req,res) => { const {name,…
-
Hi I'm a Dev running lib cloudinary I run into a problem
When I run the command yarn audit report --groups dependencies I run into this: Did you fix it? or it doesn't need to fix anything
-
Is cloudinary tracking the user behaviour or anything else of my website?
Due to GDPR I need to know, if cloudinary is tracking the user behaviour or anything else of my website when an image is loading or used. Otherwise i have first to block the images and after accapting the cookies show the images. Therefore it is very important for us to know it. best regards from germany!
-
Missing rename folder webhook
I need to notify my backend about renaming folder in Media Library panel in order to correct display images fildered by specific folder, but I see that there is no such a webhook in docs. It is necessary to keep my data sync and I can't figure out any other solution. Should I report a feature request or maybe there is…
-
Automaticaly size l_text font
Hi, is there an option to automatically resize the text font? For example, if given l_text is too long, it should fit into the canvas. If l_text is short, increase the font size as much as possible. My goal is to fit a given random text into a square image as well as possible.
-
Disable sample videos in new sub-account
When creating a new sub-account, it populates the account with sample videos. Is it possible to turn this off so it's empty? { "resources": [ { "asset_id": "d496c071a41578a4e4412dd0fb459a9f", "public_id": "samples/cld-sample-video", "format": "mp4", "version": 1680847049, "resource_type": "video", "type": "upload",…
-
How to get all ressources from a folder ?
Hello, I have two folders: uploads and pdf_uploads so how can I get all ressources from the pdf_uploads ?
-
message: "Invalid Signature***********************************. String to sign
im using the mern stack and i already have used cloudinary , everything was fine till deploy of backend of render.com and front end on netlify .i get as error : message: "Invalid Signature 5a70a668aa00331f394e11318f26963d3fea6a4a. String to sign -…
-
How to use upload_chunked_stream correctly?
I'm trying to upload a unity 3D model file. The file size exceeds the maximum file size allowed for the free plan. But I thought that using the upload_chunked_stream + chunk_size could help me solve this problem. So I did the following: async uploadChunkedStream(file: any, options: any): Promise<any> { return new…
-
I get a public_id (......) is invalid error when fetching from firebase storage.
Hi, I'm trying to fetch from firebase storage. Despite double-escaping the url, I get a x-cld-error: public_id (https%253A%252F%252Ffirebasestorage.googleapis.com%252Fv0%252Fb%252Fabd-demo-ffb23.appspot.com%252Fo%252Fabddd%25252Fteslaa.jpeg%253Falt%253Dmedia%2526token%253D4c9ca3fb-14dc-42ac-a11f-54e5ae968e3d) is invalid…
-
Api to generate Video from set of images
I am searching for apis which could take input as set of images and then create video out of it. Moreover it will also work in case there APIs which can generate video using text
-
cloudinary charges for requests? charge 0.0008 per request?
I have a web page where load 20 - 50 images every image has no transformation, I had 34.35 credits I opened the page and made 50/138 requests 695 kB or 2.1 MB transferred 933 kB / 2.8 MB resources in images and ended up having 34.39 credits none of my requests make transformations
-
i deployed my django webapp on pythonanywhere but users cant upload images sucessfully to cloudinary
Unexpected error - MaxRetryError("TCPKeepAliveHTTPSConnectionPool(host='api.cloudinary.com', port=443): Max retries exceeded with url: /v1_1/dug5dj4uz/image/upload (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f2279fdc580>: Failed to establish a new connection: [Errno 111] Connection…
-
OCR Image
I see that I am able to select labels in images, when running a search. Wondering if these can be made searchable.
-
Search for empty value in metadata field AND specific value in another metadata field
I can search for an empty value in a metadata field with this expression: -metadata=client_award_level I can search for a value in a metadata field with this expression: metadata.material_number="49738066" But I get an error when I try to combine them with 'AND' -metadata=client_award_level AND…