1,682 questions
-2
votes
0
answers
24
views
How do i upload multiple images to cloudinary via streams?
I am building a travel-log app where authenticated users can pin places they visit and add records. I am planning to add images on record with cloudinary on server. this is the current way i am doing ...
0
votes
1
answer
46
views
On product edit page, to send the same images, need to click on the button and choose the same images again
On the product edit page, if you want to send the same images, you'll need to click the button and select "Same Images" again.
The images are uploaded to Cloudinary as URLs, and they don't ...
1
vote
1
answer
38
views
TypeError: Cannot read properties of undefined (reading 'map') in Express controller when uploading images to Cloudinary
I'm building a Travel Log app using Node.js/Express, and I have a controller that handles creating a new travel log. Right now, I'm testing my API using Postman (no frontend yet).
Users can optionally ...
0
votes
0
answers
17
views
Upload images using Cloudinary for Next.js
I was looking at the documentation for setting up Next.js with Cloudinary and I found a Next.js component to simplify it:
"use client";
import { CldImage } from 'next-cloudinary';
// By ...
-1
votes
0
answers
30
views
Cloudinary Upload Widget inside shadcn/ui Dialog not clickable or interactive
I'm using the shadcn/ui Dialog component (which uses Radix under the hood) in my Next.js project. Inside the dialog, I'm rendering a Cloudinary Upload Widget (CldUploadWidget from next-cloudinary), ...
0
votes
1
answer
107
views
How to upload and download document files (Excel, DOCX, PDF,...) to Cloudinary and get the url to view and download the correct file?
I am using Cloudinary to upload document files (like Excel, DOCX, PDF) in my Java Spring Boot application. However, when uploading, the returned URL does not allow downloading the file in the correct ...
0
votes
1
answer
46
views
"Unauthorized" 401 error on making client side upload to Cloudinary
I wanted to use Cloudinary's API to upload images from the client side for my project.
This is an example from Cloudinary's docs to make signed requests from client side: Link to project.
The project ...
1
vote
1
answer
82
views
Cloudinary Upload Issue on PythonAnywhere: MaxRetryError
I'm developing a Django application that uses Cloudinary for image storage. When running the project locally, everything works fine, and images upload successfully.
However, when I deploy the project ...
0
votes
1
answer
102
views
TypeError: f.v2.config is not a function
I try make an app like instagram. Using nextjs 15 app router. For file storage i'm using cloudinary. Everything is fine in development but in production error occurs.
When i try to perform like post ...
0
votes
0
answers
35
views
Cloudinary uploading picture correctly but node catches an error
I am trying to create a web prototype for an exam which requires to upload images to the cloud, so I chose Cloudinary. The problem I am encountering is that, when I make the following axios request to ...
0
votes
0
answers
42
views
How to display video of cloudnary in admin panel and play
So, I am using cloudinary in django for video handling. video handling is going very well but i want to display video on admin panel.
models.py
course = models.ForeignKey(Course, on_delete=models....
0
votes
0
answers
25
views
Why Does Changing the Signature Still Allow Access to My Private HLS on Cloudinary (Strict Transformations enabled)?
I’m new here and need some help with securing video links on Cloudinary. I’m using Python to upload a video as private and also setting up strict transformations, but changing the signature in the URL ...
1
vote
1
answer
30
views
Remove co_black,e_colorize:70 from Cloudinary
When I fetch image data using admin.search, all the image urls has co_black,e_colorize:70 which makes the image darker.
I did not gave any transformation options when I both instantiate and send ...
1
vote
0
answers
94
views
why can't i use multer cloudinary storage
I've tried to use CloudinaryStorage (the Multer engine) so I don't have to save the image on the server before uploading it to the cloud. However, whenever I make a request, the response says, "...
0
votes
0
answers
27
views
How to store docx files to cloudinary with Multer
I am trying to upload docx file to cloudinary with multer-storage-cloudinary.
Here is the code I use
const storage = new CloudinaryStorage({
cloudinary,
params: async (req, file) => ({
...
0
votes
0
answers
29
views
I can't display an image uploaded to an amazon s3 bucket in a react page
I have an app where a user registers a post with title, a text and an image. The image is uploaded to a cloud storage service (i'm using cloudinary), and the generated url is used to display the image ...
0
votes
0
answers
112
views
Cloudinary asking for env variable I provided: A Cloudinary Cloud name is required, please make sure NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME is set
I've uploaded my nextjs app to vercel, cloudinary doesn't seem to throw any errors at me and is storing my images just and I can display them on the app just fine.
When I push my commit to github/...
0
votes
0
answers
134
views
Error: Cannot read properties of undefined (reading 'path') when uploading files with Multer and Cloudinary
I’ve been following a tutorial from YouTube and encountered an error when trying to test my API with Thunder Client. Despite my debugging efforts, I haven’t been able to resolve it. I’d appreciate ...
0
votes
0
answers
45
views
Django & Cloudinary - Admin Panel Image Upload Returns Error "This res.cloudinary.com page can’t be found"
I have the following Teacher model:
class Teacher(models.Model):
...
# Image Field
image = models.ImageField(upload_to='teacher_images/', blank=False, null=False)
# Metadata
...
...
0
votes
1
answer
57
views
I am getting error 503 when trying to upload an image even if the BE and Postman are working
I am creating a request that takes an image file. The server uploads it to Cloudinary, and I get back the image_url. For some reason, I am getting error 503. Both the BE and Postman are working fine. ...
1
vote
0
answers
111
views
Having a bug with CldVideoPlayer in Next.js website
I am using CldVideoPlayer to playback video for my users. I have a component where I rendered the CldVideoPlayer and import to use anywhere I wanted to use it.
The error that I am getting is this:
...
1
vote
1
answer
43
views
Cloudinary variables not working in .env file
I have a NextJs application using a express backend api. I'm trying to upload user avatars to a folder in cloudinary. I have the cloudinar.js file with the cloudinary.config file that I call from ...
0
votes
0
answers
79
views
Cloudinary video doesn't load when I navigate to my website from Instagram description Link
I have a video issue in my Next.js project. Specifically, when I navigate to my website from Instagram page, the Cloudinary video fails to load. I've noticed that this problem occurs only on iOS ...
1
vote
1
answer
112
views
Cloudinary signature call error - Invalid signature
I'm trying to upload image from frontend using signature call approach but can't get this into work.
The only parameter I'm assigning is timestamp.
There's more I want to assign if i figure this out ...
0
votes
0
answers
107
views
A Cloudinary Cloud name is required, please make sure NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME is set and configured in your environment
I'm new to programming and working importing an image from cloudinary in next14.js but got this error. How do I resolve it?
Error: A Cloudinary Cloud name is required, please make sure ...
0
votes
0
answers
80
views
How do i upload images to Cloudinary with Next.js?
I have a problem with my code. I am building an e-commerce website where I sell products. I have installed Cloudinary because I heard it is a good way to store images, and I want to showcase it to ...
0
votes
0
answers
93
views
method getCollection() from Astro doesn't sync the contents from Cloudinary library correctly
I have a simple Astro project and I'm using the Cloudinary integration to sync a folder from my Cloudinary library to mi project.
---
import Carousel from "@components/Carousel.astro";
...
0
votes
1
answer
52
views
How can I serialize Cloudinary fields?
I'm trying to use Cloudinary SDK's for Svelte and Django. I have a model with CloudinaryField:
class Room(models.Model):
...
avatar = CloudinaryField("image")
class UserRoom(models....
0
votes
0
answers
49
views
req.file is undefined even after uploading the image file. Using Next js and multer for file upload
I am creating a form using next js (both backend and frontend) with many fields out of which one field is image upload (same is the name of the field in mongoose schema). First I upload the image on ...
2
votes
3
answers
78
views
Is there a way to wait for response from a function before sending a response to my frontend?
I am building a logic to upload videos to cloudinary using node.js, next.js and multer package.
I have a mongodb document that I would like to store the video url and publicid of the video once ...
0
votes
1
answer
46
views
How to Ensure Atomicity with Cloudinary and MongoDB
I am working on a social media platform where users can upload media files (images, videos, etc.) to Cloudinary, and I store the returned URL of that media in my MongoDB database. The media upload is ...
1
vote
0
answers
513
views
Error: Gradle Build Failure with Expo Modules
I'm using EAS to build app directly so I didn't needed to compile prebuild i.e (.android) file
Error: Gradle Build Failure with Expo Modules
I am encountering the following errors when building my ...
0
votes
1
answer
51
views
Type '{ public_id: string; url: string; }[]' is missing the following properties from type 'DocumentArray<{ public_id: string; url: string; }>':
Error: Type '{ public_id: string; url: string; }[]' is missing the following properties from type 'DocumentArray<{ public_id: string; url: string; }>': isMongooseDocumentArray, create, id, $pop, ...
0
votes
2
answers
126
views
Environment Variables Not Accessible in Specific Files with Node.js and dotenv
I’m building a Node.js + Express.js server and using the dotenv package for environment variable management. While I can successfully access environment variables in most parts of my code, I’m ...
2
votes
1
answer
63
views
Files payload shows empty object/undefined with React Hook Form, works with Postman
I'm trying to upload files using React Hook Form and send them to my backend, where I'm using multer with Cloudinary for handling file uploads. When I test the API using Postman, req.files is ...
0
votes
1
answer
38
views
Unable to upload file from file that in src to cloudnary
In my src directory, there is a temp file, using multer I upload the file in the temp file but I cannot upload the file in cloudinary. Why it happen please help me, please help me
Here is my code:
...
0
votes
1
answer
218
views
Why I am getting error Can't resolve 'fs' when I am using cloudinary in next js?
I imported cloudinary like that
import { v2 as cloudinary } from "cloudinary";
But I am getting this error
./node_modules/cloudinary/lib/uploader.js:1:1
Module not found: Can't resolve 'fs'
...
0
votes
1
answer
40
views
Why my upload function is being called two times
I am just trying to built something like real time video recorder (not actually ),just trying to save video every few seconds in cloud.
I wrote some code in reactjs, here when my webcam mounts , I ...
0
votes
0
answers
61
views
"collectstatic" takes too long with Cloudinary, works instantly with local storage
I'm having a serious issue with Django's collectstatic command when using Cloudinary for static file storage. The command takes an unreasonable amount of time to complete, but when I switch to local ...
0
votes
1
answer
169
views
Upload multiple files in Cloudinary with NestJS and streamifier
I am doing the upload multiple files in cloudinary. Below is the code I used for upload single file:
@Injectable()
export class CloudinaryService {
uploadFile(file: Express.Multer.File): Promise<...
-1
votes
1
answer
422
views
returning json with multiple object arrays in remix loader function
This is a remix project using Printful and Cloudinary API. I am having trouble figuring out how to get both objects to return correctly. In the loader function, I am returning a JSON for product info ...
0
votes
0
answers
25
views
API calls don't work after installing TailwindCSS
I just finished a perfectly working 'Google Drive' clone as a personal project. It uses cloudinary API and Prisma ORM.
Everything worked perfectly fine until I decided to install TailwindCSS and now ...
-1
votes
1
answer
55
views
upload an image to select folder in cloudinary from remix project
Using the docs I'm able to fetch images from Cloudinary to display on the remix website but I am running into 500 (internal server error) when trying to upload an image to the Cloudinary folder.
Here ...
-1
votes
1
answer
116
views
state of react form in shadcn is resetting after second upload
Here is my form field, i pass images to imageupload to preview them before uploading in the database. Everything works fine if i upload one image but if i upload two images it overwrites the array ...
-1
votes
1
answer
76
views
i am facing an error while uploading images to cloud, error: "Must supply api_key"
i am using cloudinary for storing images with nodeJs environment, but facing this error Must supply api_key
this is cloud config file
const cloudinary = require('cloudinary').v2;
const { ...
0
votes
1
answer
44
views
uploading image in nodejs on cloudinary is not working
I am learning to upload images online using multer and Cloudinary, but for some reason the code stops working on cloudinary.uploader.upload() method. The images are getting stored at desired location ...
0
votes
0
answers
195
views
shadcn formfield issue with updating an array (react hook form)
Im using cloudinary widget to upload images. I display the images as a preview in my form so i can send it to the database. The problem that occurs is that only 1 image is displayed so my array with ...
1
vote
1
answer
72
views
I want to increase the resolution of an image displayed by Cloudinary
I am displaying an image stored on Cloudinary, shown below:
<div class="col-xs-4 col-sm-3 col-md-3 col-lg-3 mb-2">
<advanced-image
[cldImg]="img"
[plugins]...
0
votes
0
answers
26
views
how to improve get media url from publicId in cloudinary php-sdk
We use php-sdk cloudinary.
we want to fetch image links based on publicId. but it's a bit slow. is there any way to improve it or use another solution?
this function is a bit slow.
Media::fromParams($...
0
votes
1
answer
60
views
How to convert a hosted Adobe Illustrator file to a web-supported preview format?
My web application accesses adobe illustrator files from s3 object storage. I need to display a preview of these images. Web browsers don't support .ai files, so they need to be converted into a ...