-
Is it possible to highlight specific words within subtitles of the video?
Hi. We're looking at Cloudinary to transform videos. We were able to set up a bunch of transformations via API and SDK. We also generated and added subtitles to a video (via SRT-file). But a very important thing for us is to be able to highlight specific words in subtitles. We know that it's possible to customize the whole…
-
facing the error of SOCKET connection Timeout
im trying to upload a local disk image to cloudinary by using multer(upload) as a middleware. code const uploadOnCloudinary = async (localFilePath) => { try { if (!localFilePath) return null //upload the file on cloudinary const response = await cloudinary.uploader.upload(localFilePath, { resource_type: "auto" }) // file…
-
I just need to use auto captioning in cloudinary AI content analysis but no caption is added plz hel
var cloudinary = require('cloudinary').v2; cloudinary.config({ cloud_name: 'dlfaxu97v', api_key: '444767835834191', api_secret: 'DpC-5IFjR870n8PybNVv5q78fCw' }); const uploadImage = async (imagePath) => { // Use the uploaded file's name as the asset's public ID and // allow overwriting the asset with new versions const…
-
Transformation
Hi All! I Ran this command Transformation all my images, it's says all done but i dont see the changes, and the updated image return with the original info. what's wrong? const result = await cloudinary.api.resources({ type: 'upload', max_results: 500 }); for (const image of result.resources) { const { public_id, format }…
-
NPM Version of Upload widget
Hi is there a version of the Upload Widget that can be downloaded as a node module (opposed to using the CDN) In our use case, we are building an angular application that gets embedded in another application and does not have access to the index.html (because of the build process) Thanks!
-
NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME not recognized
made my .env.local with: NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME="fdfsdfsdf" NEXT_PUBLIC_CLOUDINARY_CLOUD_PRESET="sdfnbyy" run with npm run dev on localhost ▲ Next.js 14.1.0 - Local: http://localhost:3000 - Environments: .env.local ✓ Ready in 1851ms but when i try to run widget i got this error: Uncaught Error: A Cloudinary…
-
Scrolling is block after uploading image
Hi, After uploading image, scrolling is totally block, cant navigate to the bottom to top or top to bottom on the page for the other field on the form to edit something. There is a scroll bar before uploading image: https://prnt.sc/-wXT5W7V09FW There is no scroll bar after uploading image: https://prnt.sc/b50g-snUlJuF How…
-
Uploading issue
In media explorer I can upload image directly after clicking on upload button. But when I'm uploading image from my node js backend code its showing error. I've check cloudinary API key, API secret, and cloud name. Are there any configuration need to be set?
-
Handle onUpload on CldUploadButton in Nuxt3
Hi, i just create project using Nuxt 3, and use this library @nuxtjs/cloudinary, here is my simple code, i try all trigger callback : <CldUploadButton v-if="props.withImageUpload" :options="{ maxFiles: 1 }" :on-success="(result: CloudinaryUploadResponse, widget: any) => { console.log('Callback triggered');…
-
Product gallery widget not recognising Tags
I'm trying to work with the product gallery widget. I want to display all images with the tag "move" but this is not working. If I use the publicID of an individual image, it works, so I know it's connecting. Can anyone help shed some light on this?
-
Rendered image dimensions don't seem to match sizes attribute?
Hi, I'm building a website using Next.js and serving images using Cloudinary. I am using the next/image component and can see the srcset of 16, 32, 48, 64, 96, 128, 256, 384, 640w... in my rendered image's attributes. I am using g_auto,f_auto,c_fill,w_XXX,q_auto:best. I'd like to know why the returned intrinsic size…
-
I tried to upload PDF on Cloudinary using the API, the API returns a path, but when I tried to open
but pdf is uploaded a PDF to my media, but when I try to access it through the URL returned by Cloudinary, it shows this error.
-
unable to use cloudinary in production enve
i am developing via django framework, i am able to setup cloudinary to host images and static files however in all production environments i am not able to serve these files. when i use django-whitenoise it cancels the cloudinary configuration and so i end up using whitenoise to serve my files however this is not what i…
-
Rails 6 upload wdget saves before applying crop
The following code is used in my rails 6.1 application to upload images via the widget. The upload works fine . After cropping the image, either clicking 'crop' or 'save' uploads the original image instead of the crop. <script src="https://upload-widget.cloudinary.com/global/all.js" type="text/javascript"></script> <script…
-
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…
-
Google Merchant Center claiming it can't access Cloudinary images
The error is vague: Processing failed [image link] I tried accessing our images in the browser locally, works fine. It's working in production as well for all users, no complaints. However, what was weird was when I asked ChatGPT to take a look at the URL structure, it said it couldn't fetch the URL and get a status 200.…
-
What is the use of this call Cloudinary\Sync→init_background_upload
hi, The following call Cloudinary\Sync→init_background_upload took almost 30% of the time of any transaction on WordPress api call. can you please help me to understand what is the use and why it calling every time when we called our api endpoint on WordPress. can it be avoided or make it fast so our user experience will…
-
Issue verifying eager notification
Hello, I'm having issues verifying eager notifications. Here is the following eager notification code from my API (using Directus CMS backend): router.post(EAGER_NOTIFICATIONS_PATH, async (req, res) => { /** * @type…
-
I can't display the image in the upload widget after cropping it
It's always upload directly after click on crop button inside the upload widget, is there a way to display it inside the widget after cropping the image ?
-
The need for API key and cloudname in Media Library Widget
Hi, I'm integrating Cloudinary Media Library Widget in my application. But I'm confused on why we have to provide API key and cloudname as user will authenticate himself to use the widget? (I don't feel secure using secrets in client-side code) Also, do I have to provide my API key and cloudname or ask user to create and…
-
Generating Download URL Returning 404
When generating a download URL using utils.private_download_url(publicId, format, options) the method returns 200 with a seemingly correct URL string. However, when trying access the string in the browser or pass it as a link in my react application I get a 404 "resource not found". What could be causing this? I've looked…
-
Can't connect to cloudinary api
I'm getting timeout errors when trying to connect to cloudinary api to upload images. This is one of the errors: Error: connect ETIMEDOUT 34.200.85.232:443 at createConnectionError (node:net:1634:14) at Timeout.internalConnectMultipleTimeout (node:net:1685:38) at listOnTimeout (node:internal/timers:575:11) at processTimers…
-
"Could not decode base64" error when I try to upload
I am having trouble uploading to my cloud via base64 encoded image. Here is the encoded string: https://ctxt.io/2/AACw8dghFQ My code is: const base64Url = changedDesktopPortrait.valueOf() as string; const base64Data = base64Url.replace(/(\r\n|\n|\r)/gm, ""); const desktopRes = cloudinary.uploader .upload_large(base64Data,…
-
Cannot figure out why the image is not deleting
I'm trying to delete an image using the Nodejs SDK. const result = await cloudinary.uploader.destroy(profile.id); But it returns a result of 'not_found' even though I'm specifying the correct public id As you can see in the pics above, the id of the resource in the media lib matches what is in the console (profile.id =…
-
Loopback4 example to load files
Do you have a Loopback4 example to load files in a POST endpoint ?
-
PHP SDK: JPEG XL delivery format
Hi, Are there plans to add JPEG XL as a delivery format with the PHP SDK and any timeline on that if there are? Unless it already is, although attempts to use 'jxl' are just throwing errors and I can't see anything JPEG XL like in ImageFormatInterface.php
-
Deleting empty folders across 23000 folders
I have my assets grouped 9 per asset folder and some 23,000 asset folders. I want to delete any asset folder which contains no assets. I have developed a purge utility which recursively traverses the asset folders and does what I need. HOWEVER when I run this in my production environment it hit the 5000 calls/h limit once…
-
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…
-
How to get random images from a folder
I am making something like a social media website, using cloudinary to store user avatars and other images when a user dont want to upload a profile pic, i want the default profile avatar to be choosen randomly from a folder in which i have uploaded some cool random avatars it is possible ? maybe a get request that will…
-
Is there a way to customize the background color of the Product Gallery widget?
After reading the api reference for the widget, it doesn't seem like there is an option, but I wanted to check since some other widgets do in fact have that option.
-
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…
-
Unable to upload long base64 url via API
Hi Community! I'm unable to Upload my long base64 url via API. How can I do so? I even URL escaped it, but nothing Changed.
-
How do I get metadata ( width and height) of a cloudinary resource in Django
I'm using cloudinaryfield to upload images and videos in my app. I need a way to get the width abd height of the images abd videos uploaded. I can't find any attribute on CloudinaryResource class that can help. And calling the api for the metadata makes my server slow and I get rate limited. Does cloudinaryfield store the…
-
Subject: Urgent Assistance Needed - Cloudinary Account Disabled, Media Access Critical
Dear Cloudinary Support Team, I hope this message finds you well. My name is Guney, and I am writing on behalf of kirklareligazetesi.com.tr. We are currently facing a critical issue with our Cloudinary accounts, and I urgently seek your assistance to resolve this matter. Our Cloudinary account with the username "[REDACTED…
-
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…
-
Strapi - Cloudinary image upload, Request Timeout error
When i Use Cloudinary with Strapi (using @strapi/provider-upload-cloudinary version 4.16.2 and Strapi v4.16.2 and Node 20.9.0 ) I am not able to upload Images. I get a Request Timeout error. I tried playing with the timeout parameter on my side but it doesn't help. I get http: POST /upload (5478 ms) 500 status (similar…
-
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…
-
Learn How to Build a Dynamic Conference Badge Generator with Cloudinary
Hey everybody! We have a DevJams live stream this Friday! You can watch on LinkedIn and YouTube. Join us in this episode as we chat with Amy Dutton about her incredible project - a dynamic badge generator for the RedwoodJS Conference. Amy shares her story into tech, her current role in the RedwoodJS core team, and the…
-
How to delete a image?
https://res.cloudinary.com/dc2z2c3u8/image/upload/v1704056782/uploaded-images/Screenshot%202023-12-31%20at%205.39.20%20PM.png.png I need to delete this image cloudinary.uploader.destroy( `image/upload/v1704056782/uploaded-images/Screenshot%202023-12-31%20at%205.39.20%20PM.png.png`, { invalidate: true, resource_type:…
-
ActiveStorage: use public url?
I'm using Cloudinary as an ActiveStorage store for ActionText in Rails 6.1, cloudinary gem v1.28. Instead of the local signed URL I'd like to have it use the direct URL to Cloudinary. In the ActiveStorage documentation, there is the concept of setting a public flag in storage.yml: cloudinary: service: Cloudinary public:…