-
pdf not opening
I integrated cloudinary on my website i am making, in which i upload pdfs and access them. when i open the pdf link it says failed to load pdf document.
-
Is there a way to list assets sorted asset by updated date ?
I try to list all recently updated assets (metadata update, tags update, …) Is there a way with search api or with another api to achieve that ? Here is my current request Url https://api.cloudinary.com/v1_1/{{cloud_name}}/resources/search Body: { "expression": "resource_type:image", "with_field": [ "context", "tags" ], }
-
How to transform recorded live stream video with Cloudinary
Hello, everyone. I am working on a demo that helps set up OBS with a Nextjs application. The demo will transform the stream using the video transformation functionality and other AI effects. I know this is in "BETA," but I want to ask a few questions. 1. Anyone have experience working with this recently? 2. I noticed i…
-
success in deleting but...
I recently made an API with Cloudinary and NodeJS, of course, this API has the function to delete images, but when I went to test it, there was always a problem. The API returns 200, it seems like everything is perfect, but if I go to Cloudinary, it didn't delete anything. In fact, the image is still there. Could someone…
-
It took me 3 hours and almost a heart attack
To realize that the problem is with the farthest thing I could ever think of Can someone explain why cloudinary.config doesn‘t accept .env varriavbles While Iam 100 sure I declared and configed the dotenv
-
Returning Unformatted Data (or Label) from Structured Metadata
I am trying to add two custom structured meta data fields – city and country – to photos in my folder. When I fetch that data I get the ID's (e.g. Usa instead of USA, Puerto_montt instead of Puerto Montt). Is there a way to fetch the labels without trying to transform or map these locally?
-
Cloudinary and Webflow
Hi! Is there API integration with Cloudinary and a Webflow site? I am trying to add a "Record" button to my website and also a button for users to "Upload" an audio file. Is this just a matter of adding the right code embed? Any help would be appreciated. Thank you!
-
Will there be a Collections API?
I am using Collections manually and Dynamic collections might also be useful. I would really like to programmatically build many more collections but there is no API. When might this be available? TIA, Mark
-
Move image from one folder to another
Hi, How to move an image from one folder to another programatically using .net and your API? I found this article but it is not for .net https://support.cloudinary.com/hc/en-us/articles/202521002-How-to-move-an-asset-from-one-folder-to-another
-
gen_remove is not supported as an incoming transformation
Hi, I'm trying to use a transformation preset while I upload pictures in node.js, this preset contains a gen_remove and it crashes with an error 500 "[unhandled] [500] gen_remove is not supported as an incoming transformation". I don't see a list of unsupported transformation in the docs, maybe because it's a new feature ?…
-
Named transformation with user-defined variables not working
I'm working with Strict Transformations mode disabled and I'm trying the following named transformation (portfolio_color_replacement) with user-defined variables: My original image looks like this: If I try to use the replace color effect like this…
-
Concatenating Audio Results in One Channel Audio
Hello, we have been using the API successfully to concatenate audio files. It's a great feature. However, we are experiencing an issue with some audio files we upload to our software that is used to send to your API. The problem is this: When mixing some of the audio files (these are MP3 files created by ElevenLabs…
-
Unable to query my Product Environment
I'm using nodejs sdk, and I have this simple config in my project: cloudinary.config ({ cloud_name: "testname", api_key: "11223344556677", api_secret: "h64hsh6wh7whs", secure: true, analytics: false, hide_sensitive: true }) const result = await cloudinary.api .resources() .then(result=> console.log(result)); But I'm…
-
search API subfolder
Hi! I am new to Cloudinary so bear with me... Right now the following code grabs all of my Cloudinary media, but I just need assets from a folder/subfolder. How can I specifically grab assets within a particular folder using the Cloudinary search API? Thanks! const results = (await cloudinary.v2.search…
-
how to upload png with transparent background to cloudinary
I am trying to upload a png image with transparent background to cloudinary using nodejs application The image is in png format i.e. logo.png. I am using multer to get the image convert into buffer before uploading the image. But when I upload the image the transparent background changes to a white background. The response…
-
Problem uploading files, Timeout and Callback is not a function
Hello Everyone, I've been using Cloudinary for some times now, and up until yesterday everything was perfectly smooth and running. However this morning i tried to upload an image ( working on loading state) and i've seen that it wasn't working anymore. At first i had a 499 Error timeout, and after looking on internet i've…
-
Get History of an asset
I am looking to obtain history of assets via API where I can show when it was created and when it was modified over time. The assets are being replaced via API so need to know when these are being replaced or how many times. Is that possible via API.
-
I am facing issue while accessing an image with my react code using <tag.json> method
https://res.cloudinary.com/drwxjbeid/image/list/tag.json Here my tag to the image attached is 'tag'. My question is do we need to provide any account level permission to perform this activity? I have tried by fetching details via postman by GET method it is giving response as '401 unauthorized' Thanks, Sez
-
How to get Embedded Metadata (EXIF) from an image?
I want to get all image from a folder using: const photoList = await cloudinary.v2.api.resources( { type: "upload", prefix: "<FOLDER_NAME>", metadata: true, }, function (error, result) { console.log(result, error); }, ); I can see the EXIF data from my images in the DAM and I need the DateTimeOriginal from the image's…
-
"Private media assets" vs "Token-based authentication" What is the difference?
Hi there Thanks for reaching out. Im trying to upload my image/video as private to restrict access from guest, then i create an Url for that image/video with expired time for specific user (like for sombody logged in my system) I did that by using Providing time-limited access to private media assets. But i also hear about…
-
Is it possible to change the PublicId?
I can edit the PublicId but seem not to be able to update it programmatically using NET. Here is a fragment of my code UpdateParams up = new UpdateParams(oldPublicId) // tws7/5113_d5240053-1b32-49fd-a11a-400e7a6f5d2e/OriginalWebp { PublicId = newPublicId // tws7/5113_d5240053-1b32-49fd-a11a-400e7a6f5d2e/Original };…
-
Requesting an image with a different URL structure
I know that the structure URL of an image is typically https://res.cloudinary.com/lucecoplc/image/upload/t_media_lib_thumb/cld-sample.jpg To interface Cloudinary from my PIM system I need the URL to be structured with the transformation size on the RHS of the URL like this…
-
Where I can find CLOUDINARY_FOLDER environment variable for my project?
I cloned one project from GitHub. In my .env.local file I have set the CLOUD_NAME, API_KEY and API_SECRET variables, and I also need to set the CLOUDINARY_FOLDER variable, but I don't know where I can find that. I am getting this error: Error:…
-
Correct configuration of cloudinary library for Next.js server side code
I'm using Next.js. I call various cloudinary API methods in several different places, but always in either API or server side methods like getStaticProps. I want to avoid having to configure the library again and again, so I've followed the Next.js example which puts initialization and config in a separate file which you…
-
How to correctly delete folders with mixed contents by prefix?
I have a bunch of test folders with both images and raw files in them which I want to delete. I have this code: let folders = await cloudinary.api.sub_folders('albums').then(resp => resp.folders) var folders_to_delete = folders.filter((f) => f.name.startsWith('test')) console.log("folders to delete: ", folders_to_delete)…
-
Search API: search by created_at with timestamp
Using the search API, I can search by created_at with this expression: "created_at>2023-09-01" But how can I include a timestamp? If I follow the format from this documentation: https://cloudinary.com/documentation/search_api#expression_fields "created_at>2023-09-01T08:00:00Z" I get the error: "Query Error (at position 25)…
-
Why are some of my uploads silently failing the first time or two?
I am using a Next.js API route (i.e. server-side function) to upload a raw file to a specific location within my Cloudinary account. Here is the code: import { v2 as cloudinary } from 'cloudinary' import { Readable } from 'stream'; export default async function uploadInfoJSON(req, res) { console.log("enter upload…
-
Why are my public ID's invalid?
I am using the JavaScript Cloudinary API to upload images and store them on the cloud. Sometimes, I will get an error for having an invalid public_id. Here is an error I recently received - { message: 'public_id ( The Unforgettable Journey10_0) is invalid', name: 'Error', http_code: 400 } Another error - { message:…
-
🤖 New AI Image Transformations and Features from Cloudinary
Hey there! As an active Cloudinary Community member, I wanted to let you know about three new Programmable Media Product Innovations and their associated walkthroughs. Our Generative AI features now let you easily remove objects, fill backgrounds and create captions in images. In addition, you can now use Cloudinary Search…