-
Bulk upload content from Local Folder (sync'd DropBox or Google Drive)
Having started with Cloudinary DAM and gotten excited about all the cool features and functionality, the next question we're usually asked is how can I upload my 00's or 000s assets from a local folder or network share into my Cloudinary account? 🤔 This is a great question! The answer is there are many ways - through the…
-
Upload API give me 502 Bad Gateway
Hi. I'm in a Next js 13 project. I tried to upload a image using an unsigned upload preset call restaurant and Upload API but it gives me a 502 Bad Gateway. This is my code 'use client' import { useSession } from 'next-auth/react' import { useRouter } from 'next/navigation' import { useState } from 'react' function…
-
Invalid JSON response from server
Hello. So in my Spring application I have this CloudinaryService class with this function that's supposed to take a Base64-enconded image and upload it to Cloudinary: public String uploadFileFromBase64(String base64) { try { @SuppressWarnings("rawtypes") Map uploadedFile = cloudinary.uploader().upload(base64, // the error…
-
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…
-
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…
-
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…
-
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…
-
Request for continuation and replacement of plan credits
Hi, The credits I used have exceeded the $249 plan limit and now our account status is unavailable. If we apply for an upgrade to the $549 plan this month, can we change to the $249 or $99 plan next month? Also, seeing that our credits are mainly used for brandwidth, what are the ways we can reduce the amount of brandwidth…
-
405 Cloudinary ONLY on production using Vercel - Nextjs
Please help, 2 weeks stuck. So far no answers works, no AI, nobody, no workaround, I have no idea where to look anymore. Uploading images on development works perfect, on production 405. Add headers, take headers, change CORS, use Axios, change to fetch, clear cache, downgrade Nextjs, try different npm's etc... No idea on…
-
I can't upload epub file
I have been having issues uploading epub file through a url link. But i keep getting the error { message: 'An unknown file format not allowed', name: 'Error', http_code: 400 } When i try to use a preset that doesn't have any format, it work but then it doesn't upload as an Epub file.
-
Uploading M4A with iOS SDK
Howdy! I've recently added the Cloudinary SDK for iOS to our project, and am working on uploading a locally-recorded audio file to Cloudinary. After some fussing, I got the signature verifying for the signed upload, and it looks like everything's in place to send the M4A audio file, but the API returns this error: {…
-
How do I allow users to upload images to my site by clicking the Upload button. ? I'm using python S
How do I allow users to upload images to my site by clicking the Upload button. ? I'm using python SDK. I'm working on a Django project. And when we click on download, it doesn't work. The browser returns an error message: "file not available on this site". How to fix this problem ?
-
Question about using the React media editor and image upload widget
hi I'm trying to create React so that my Media Editor opens right away to let the user edit the picture that was just uploaded using the Upload widget. I try to run mediaEditorWidgetRef.getConfig(), but it always returns undefined, and when I try to run mediaEditorWidgetRef.show(), it always gives the error "Cannot read…
-
How to upload an image from cdn url in cloudinary?
The cdn url of the image is given. When I am trying to upload image from cdn it gives filenotfound exception. The code snippet is given below- Map result =…
-
Trying to upload multiple images, but can get only one uploaded,
const Upload = () => { async function handleOnSubmit(event: React.FormEvent<HTMLFormElement>) { event.preventDefault(); const form = event.currentTarget; const fileInput = form.elements.namedItem('getImage') as HTMLInputElement; const formData = new FormData(); let arrayFiles; if (fileInput) arrayFiles = fileInput.files ?…
-
Issue with image upload in production
In production we encounter the bug in the screenshot above when trying to upload images to cloudinary. but in development we don't and everything works fine and we've setup the exact same environment on production as it on development to try and find out the root source of the error all to no avail. Our stack is the main…
-
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…
-
How can I get progress of file uploading from uploader.upload_stream and pass it to api
I'm developing nextjs app with api routes, I have a route to upload file to cloudinary localhost/api/files/upload. There I send files with axios and receive axios uploadProgressEvent to display it on web page. I see that progress works fine when I upload file to api route, at 100% upload I need to wait more because file is…
-
Lazy async moderation / Retrigger moderation
I want to use Amazon Rekognition plugin in the following way: User uploads photo to Cloudinary and moves on using the site; Cloudinary lazily moderates the uploaded photo asynchronously; When finished, Cloudinary sends the results to a server endpoint via webhook; Server does further processing. But right now, if I use…
-
A couple questions about curl for rtmp
So live streaming has been in Beta almost how long I've been working with my OTT. I used to be able to get the curl rtmp example working and I can't find anything in the forum about live streaming. Is no one streaming live anymore? Is there anyone I can get a quick call into so I can ask some basic questions? This is the…
-
How to specify maximum duration in an incoming transformation
Hi, I'm adding an incoming transformation in my unsigned upload preset to set a maximum duration of 9 sec per video whenever a video is uploaded client-side. So, if user uploads a video>9 sec, the video duration would be cut to 9 sec. I'm using the conditional field in the incoming transformation section to set this up:…
-
Live Training Sessions on Cloudinary's Digital Asset Management Systems in August
Super excited to announce that Cloudinary is running several upcoming Digital Asset Management training classes! If you and your teams want to learn the basics of uploading and managing files in Cloudinary's systems, these virtual live sessions will be perfect. 🌎 Tuesday, August 15th from 9:00 a.m.-11:30 a.m., Pacific time…
-
I can’t upload large images
I am having issues uploading large images to cloudinary, when I upload files less than 500kb everything work fine, but when I try to upload files from 1mb and above it times out and return this error: could not decode base64 please what is wrong or what should I do
-
In Upload Widget, unable for uses to connect to Facebook or Instagram
Hello - I implemented window.cloudinary.createUploadWidget into my app. Sources like Google drive work. But when I try to use Facebook and Instagram I am hit with the following errors: FB Error: IG Error:
-
Nested folders failing to upload in widget
I've set up signed uploads with my upload widget. When I drag a single folder into the uploader, everything works fine. When I drag a nested folder into the uploader, it fails with a lot of 'invalid signature' errors. I swear this was working before, I don't know what changed. I think before (a few days ago?) it was…
-
Cloudinary Upload Widget And Video Player Inquiry
I made a custom video player using Cloudinary & imported the upload widget into my react app. How would I go about having users upload/post with the mp4 file playing on my custom video player, inside the app? Like, when they upload the video then hits "done", it posts inside my react app.
-
Upload Widget abnorting after crop
I have set up the widget with the following parameters (this is React based): sources: ['local', 'camera'], cropping: true, multiple: false, resourceType: 'image' After I resize an image in the widget and press the crop button, it appears to crop the image onscreen, then the widget closes itself. An image is uploaded, but…
-
Signature generation for UploadWidget
I have currently implemented the upload feature in our web app (Angular) using the official upload widget. I have created an uploadPreset that includes the signature and configured my code to generate a backend signature. Below is the frontend code implementation: javascript this.myWidget = cloudinary.createUploadWidget( {…
-
build error: coffee-script module not found
Hi all, I'm getting this build error: "./node_modules/vm2/lib/compiler.js Module not found: Can't resolve 'coffee-script' in '/Users/me/my-project/node_modules/vm2/lib" I'm trying to use the Node SDK in a Next.js 13 Api route, intending to upload an image, the Api route looks like this: import { NextRequest, NextResponse }…
-
How do my external partners upload their content?
This is a question from our Cloudinary Assets and digital asset management customers that we hear quite often. The answer is that there are a few different ways to support your external partners and agencies to upload content to your Cloudinary instance. These range from: 1) give them a login to your Cloudinary account and…
-
Upload encrypted PDF via UI
Hi community, how do I upload an encrypted PDF into the media library? Via UI, not via API. I tried to upload it in the regular way, but it failed. So I understood from manual that cloudinary needs to handle it as a RAW file. But in UI there seems to be no option to declare an upload as RAW, if it is a known format like…
-
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 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) =>…
-
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…
-
Upload Widget: Set default filters values in Advanced (Relevance and Orientation)
How can I set those filters to a given default value? Thanks.
-
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,…