-
How do you modify the public id for an image asset uploaded with the CldUploadWidget component?
I have a nextjs app that is implementing Cloudinary uploads using the CldUploadWidget react component. Everything is working great except that I have been unable to modify the public id for uploaded assets. I have my upload preset configured in my cloud settings to allow overwrites, unique filename: false, and use…
-
Not able to retrieve images from a folder.
The images in this folder do not reflect their containing folder's name in their public id as they were moved there in Dynamic folder mode, as a result when i try to fetch all the photos a that folder it results null. CODE: const fetchMediaFromFolder = async (folderPath) => { try { const result = await…
-
Create one-time url for authenticated media files?
I'm uploading authenticated images/videos, using my backend (get the signature) and then upload images/videos using React. For security purposes, I'd like to have a one-time link to each image on my website to prevent any person to inspect the page, take the image url, paste in the browser and download it. Or even share…
-
413 Request Entity Too Large
I am uploading files to cloudinary with this code in laravel ````public function upload(Request $request) { $folder = 'product_photo'; if ($request->hasFile('photo')) { $file = $request->file('photo'); request()->validate([ 'photo' => 'nullable|image|mimes:jpeg,png,jpg,gif,svg|max:6048', ]); $cloudinaryResponse =…
-
How to list all images inside folder ?
Hi, I am having issue connecting to cloudinary to fetch images inside folder. All other requests inside postman works fine, except this, I keep getting 404 html response. Please tell me what I did wrong here. Thank you Postman API:
-
Do duplicate image uploads with overwrite disabled incur bandwidth costs?
I use secure uploads in my application, specifying a public_id and overwrite=false in the upload options. When I attempt to upload an image with a public_id that already exists, I receive an immediate response indicating that the asset exists, marked by existing=true in the response. In this scenario, am I charged for…
-
How to add an audio file in CLT manifest
Hoping someone can point me in the right direction real quick as I searched all the doc and can find no mention of it. Thanks.
-
Download URL to pdf
Hello. I uploaded some pdf files using nodejs. I am developing an app in React Native, so now I have to have access to the download url of these pdf's. I have tried many approaches, used many types of url's, and up until now I could'nt find any download url that works. Please give me some help to find these download urls.
-
413 Request Entity Too Large on Production but it uploads on Local server
this is my code public function upload(Request $request) { $folder = 'product_photo'; if ($request->hasFile('photo')) { $file = $request->file('photo'); request()->validate([ 'photo' => 'nullable|image|mimes:jpeg,png,jpg,gif,svg|max:6048', ]); $cloudinaryResponse = Cloudinary::upload($file->getRealPath(), [ 'folder' =>…
-
Upload Widget on Android 14 doesn't allow Camera if clientAllowedFormats: 'image'
I am using the Upload Widget in a normal web page (no web-view app or anything like that). As per title, the Widget on Android 13 and older works fine. However on Android 14, if I pass clientAllowedFormats: 'image' to exclude videos, then I do not have the usual Camera option after tapping "My files". I only get a list of…
-
upload path
I am tryin to get an image upload to Cloudinary. The following code is what I am using: foreach (var file in args.Files) { var path = @"https://res.cloudinary.com/dtm6vdbf7/image/upload/" + file.FileInfo.Name; FileStream filestream = new FileStream(path, FileMode.Create, FileAccess.Write); await…
-
Where i can get more information about 'create_video' endpoint?
I tried to create a video from a set of images following the instructions from . but only movement and change pacity are described there. I need to change scaling, rotate images etc. Wherre can i get more information about paramiters of jsonManifest? Maybe get more examples… And what is the approximate release date of this…
-
Preserve multiple AI transformations
Hello, I have a NextJS application and I use the CldUploadWidget to upload images and the CldImage component to apply transformations. What I'm trying to do is the following: 1. The user uploads an image with a guy with black shirt and black hat. 2. Applies transformation to recolor the shirt to be white with the recolor…
-
Use file format in conditionnal transformation (p.ex: f_svg/fl_sanitize if source is svg)
Is it possible to apply a specific transformation only if the image source is a given format. My goal is to apply special transformation if source is an svg and another transformation if file source is not an svg if svg : /fl_sanitize/f_svg else /w_400,h_400,c_fit/q_auto I alreay check documentation here
-
I am facing cors issue and i am sure it is about cloudinary, the error is:Access to fetch at 'https:
import express from 'express'; import mongoose from 'mongoose'; import cors from 'cors'; import Article from './Schema/Article.js' const app = express(); import fileUpload from 'express-fileupload'; import { v2 as cloudinary } from 'cloudinary'; import { config as dotenvConfig } from 'dotenv'; dotenvConfig(); // Configure…