Questions tagged [cloudinary]

Cloudinary is a cloud-based service offering features and APIs for uploading, storing, managing, and delivering media assets. When delivering assets, optimizations and other transformations can be applied to those assets based on options added to the delivery URLs

cloudinary
Filter by
Sorted by
Tagged with
115 votes
11 answers
318k views

How to convert a multipart file to File?

Can any one tell me what is a the best way to convert a multipart file (org.springframework.web.multipart.MultipartFile) to File (java.io.File) ? In my spring mvc web project i'm getting uploaded ...
Amila Iddamalgoda's user avatar
48 votes
5 answers
65k views

how to upload multiple images to a blog post in django

I am trying to allow each user to upload multiple pictures to a single blog post. I have been trying to work out the best way to do this for a few days now. What is the best practice to do this? From ...
ollysmall's user avatar
  • 643
23 votes
2 answers
5k views

Is HttpWebRequest implemented differently in mono and .net?

I am trying to port the c# cloudinary api to mono and I am having some problems building up the http request. I have separated out this method for setting up the request but the HttpWebRequest....
terjetyl's user avatar
  • 9,537
22 votes
6 answers
9k views

Efficiency of services like Cloudinary, Imgix

I want to build a website with a lot of images and hence image manipulations like amazon, ebay, flipkart,etc. I have been suggested to use services like Cloudinary, Imgix, etc to resize my images ...
deadcode's user avatar
  • 762
17 votes
2 answers
13k views

The "images.domains" configuration is deprecated. Please use "images.remotePatterns" configuration instead

I get the following warning in Next 14: The "images.domains" configuration is deprecated. Please use "images.remotePatterns" configuration instead. My next.config.js has this ...
vishwajeet's user avatar
12 votes
3 answers
25k views

net::ERR_BLOCKED_BY_RESPONSE.NotSameOriginAfterDefaultedToSameOriginByCoep 200

Please help solve this problem. I am working with a MERN app. In the app, I upload images to the cloudnary using the API. Then I upload the image on the frontend using secure_url. It works on ...
nOybek's user avatar
  • 385
12 votes
2 answers
7k views

Cloudinary Invalid image file exception

Cloudinary only has an example for how to load images from android to the cloud. However I need to upload videos. When I use the call from the sample code I get an Invalid image file error. Here is ...
Katedral Pillon's user avatar
11 votes
2 answers
6k views

Firebase Storage - URL for image services

I'm trying to get Firebase Storage to work with an image service like Imgix or Cloudinary. However, the download URL's that Firebase provides, do not seem to work with these services. For example: ...
Timon's user avatar
  • 2,692
11 votes
3 answers
5k views

How can I upload file in Apollo server V4

I’m using the newer version of apollo server V4, I need assistance on how to upload images or videos from Frontend to cloudinary and save the url to MongoDB database… please help 🙏 I have read ...
user17371035's user avatar
8 votes
3 answers
7k views

Invalid Cloudinary Configuration

I'm new to keystone and am trying to deploy a simple website template to familiarise myself with the technology, I have downloaded all the necassary modules and created a keystone.js file and package....
denisq91's user avatar
  • 155
8 votes
2 answers
3k views

Linking a Cloudinary image upload to a Django model field

I've read through the Cloudinary Django docs and many StackOverflow questions and I'm still struggling with this basic problem. I want to upload an image as part of a data migration to a Cloudinary ...
djq's user avatar
  • 15.1k
8 votes
2 answers
1k views

Android: Uploading a photo in Cloudinary with progress callback in HttpURLConnection

I'm trying to modify the open source library of cloudinary so that I can listen to the progress of the upload of my photo. The library class contains a MultipartUtility java class that I modified to ...
Simon's user avatar
  • 19.8k
8 votes
2 answers
3k views

How to implement jQuery direct upload to Cloudinary on node.js

I'm trying to implement direct uploads to Cloudinary via their jQuery plugin to a Node.js application, and am wondering if anyone can help me close some gaps in their examples. Here's the blog post ...
Jed Watson's user avatar
  • 20.3k
7 votes
1 answer
4k views

Async/await for cloudinary upload not working

I have tried a few different ways, basically I want to take out the cloudinary upload code from my routes and put it in a function that my route calls to make the code cleaner. But for some reason I ...
Jack 's user avatar
  • 491
7 votes
1 answer
278 views

Ruby on rails bootsy + cloudinary upload image trouble

I have RoR project, living on heroku. I have bootsy (editor with image upload funcs) and I have cloudinary. Ive setup uploader, cloudinary api keys and initializers (can show you, if it needed). Now, ...
Legendary's user avatar
  • 2,243
7 votes
0 answers
2k views

Network request failed at XMLHttpRequest.xhr.onerror in react native application(android)

Getting the below error, while I'm trying to fetch the image list from cloudinary using fetch in react-native. How to resolve this? TypeError: Network request failed at XMLHttpRequest.xhr.onerror ...
Nivi sri's user avatar
  • 143
6 votes
2 answers
8k views

How do I get a list of my images from cloudinary from client-side JavaScript?

Using the cloudinary API I can get a list of images by GETting the following URL: https://API_KEY:[email protected]/v1_1/CLOUD_NAME/resources/image/upload However, using this from client-...
drs's user avatar
  • 5,729
6 votes
2 answers
2k views

Need to implement #cache! if you want to use Cloudinary::CarrierWave::Storage as a cache storage

I am getting this error when trying to upload a picture "Need to implement #cache! if you want to use Cloudinary::CarrierWave::Storage as a cache storage." It highlights this part of code in my ...
Ayoub Ben Thabet's user avatar
6 votes
2 answers
6k views

How to avoid CORS preflight request on file upload?

I am using jquery-fileupload to allow users to upload files to an external service (Cloudinary to be more specific): <input type='file' name='file' class='cloudinary-fileupload' data-url='https:...
andreas's user avatar
  • 75
6 votes
1 answer
5k views

upload image blob to Cloudinary

Im using react and react-router on the frontend, node+express as my backend and cloudinary to store my image files. The issue Im having is that the cloudinary api method cant seems to open/parse the ...
KornholioBeavis's user avatar
6 votes
3 answers
10k views

How to use Cloudinary jQuery plugin to upload images directly from a page?

Beginner's question here. I'm trying to upload the photo from a webpage directly to cloudinary. Here is the jQuery plugin that Cloudinary recommends to use. Unfortunately the plugin is not ...
George Strakhov's user avatar
6 votes
3 answers
7k views

Cloudinary image upload from React: am including Cloudinary unsigned preset but get "Upload preset must be specified when using unsigned upload"

I'm trying to construct a simple Cloudinary image upload based on this codepen example: https://codepen.io/team/Cloudinary/pen/QgpyOK -- I've converted it to work with fetch but even though I've ...
Cerulean's user avatar
  • 5,823
6 votes
2 answers
8k views

Cloudinary - Upload preset must be in whitelist for unsigned uploads

I want to upload image, to Cloudinary, taken directly from camera in Ionic using cordova camera plugin. I am getting an error of code 1, having message "upload preset must be in whitelist for unsigned ...
Ruchi yadav's user avatar
6 votes
2 answers
825 views

Where do I install a package with npm in Meteor 1.3 so that other npm libraries can require it

I’m trying to get set up with cloudinary in Meteor 1.3 beta, and I’m going for an NPM package right now. I’ve run in to a larger problem where in one of the package libraries there is a declaration ...
Robin Newhouse's user avatar
6 votes
0 answers
849 views

Response 302 when directly uploading image to Cloudinary from the browser

I follow the Node.js sample project (https://github.com/cloudinary/cloudinary_npm/tree/master/samples) to develop a simple web application that allows users to upload their profile picture. When I ...
tom1199's user avatar
  • 61
6 votes
0 answers
5k views

upload captured image to Cloudinary directly in Android

I want to capture a picture and upload it to Cloudinary directly. How can I know the name of the pic to set it at the upload statement cloudinary.uploader().upload("nameofthepic", Cloudinary.emptyMap()...
Aya Radwan's user avatar
5 votes
2 answers
4k views

Cloudinary python uploader not working

import cloudinary cloudinary.uploader.upload("my_picture.jpg") Gives error AttributeError: module 'cloudinary' has no attribute 'uploader'
Rahul's user avatar
  • 11.3k
5 votes
2 answers
2k views

Get Cloudinary image URL

I have a model called Tile, and it has attachment: has_attachment :image_attachment I can use cl_image_tag @tile.image_attachment.path to display img tag but I want to get only full URL to embed is ...
szromek's user avatar
  • 153
5 votes
3 answers
4k views

How to pass options to CloudinaryField in Django Model?

I am currently using Cloudinary with Django to store user profile pictures and would like to pass parameters to it store it in a folder and and overwrite the existing image instead of creating a new ...
Alex Atwater's user avatar
5 votes
1 answer
6k views

store images locally vs cloudinary vs s3

The settings: Blog with posts, buily with Laravel, where: Every post can have max of 1 image (nullable). Max posts in the blog is 1000. Let's assume there are 1000 posts for the discussion. Every ...
nscode's user avatar
  • 147
5 votes
1 answer
4k views

adding cloudinary to strapi

Can someone tell me how to install Cloudinary to my Strapi app, I installed the plugin like the documentation said but the plugin doesn't show up at all in my project. Can someone tell me what im ...
GentiJ's user avatar
  • 51
5 votes
3 answers
1k views

Meteor: Cloudinary

I am trying to upload a photo with Lepozepo/cloudinary This is my server and client config server: Cloudinary.config({ cloud_name: '*****', api_key: '******', api_secret: '********' }); ...
Jose Osorio's user avatar
5 votes
1 answer
1k views

How to associate direct upload fields with a model using Cloudinary in Rails?

With Cloudinary and their Carrierwave plugin I can write a form in my view that will upload an image to their cloud and bind it to a model attribute called picture, like so: <%= form_for(@post) do ...
hlh's user avatar
  • 2,032
5 votes
1 answer
12k views

How to fix image upload in Axios

I'm having trouble in uploading image in react. I use axios for the api request and multer & cloudinary for the file upload. Update: In my dependency: "axios": "^0.19.0" Required dependencies ...
CJ Cruz's user avatar
  • 98
5 votes
0 answers
272 views

How to add a picture to a model (User) in Rails using ActiveStorage and the Cloudinary Upload Widget?

world! After implementing Cloudinary's Active Storage Integration, it's easy to make it work in a form. We just need to add to our simple_form_for a <%= f.input :photo, as: :file %> BUT, if ...
andrerferrer's user avatar
4 votes
4 answers
3k views

Cloudinary SDK in Swift project

Is there a way to use Obj-C SDK in a Swift file? I've tried to add cloudinary SDK to my project. I found a way to add libcloudinary.a to my project Frameworks but its not working. UPDATE: Cloudinary ...
AmiH's user avatar
  • 53
4 votes
2 answers
3k views

How can I use Cloudinary to output a url with transformation as a string?

I'll preface this by saying that may be approaching this incorrectly. What I'm trying to do is pass the url w/transformation into JS using a data- attribute. Currently, I'm using the following to ...
Eric Norcross's user avatar
4 votes
2 answers
21k views

How to remove authorization header from request [duplicate]

I'm using MEAN Stack User Registration and Login Example & Tutorial as the base for my app. It adds an auth header to every request in the run function: $http.defaults.headers.common['...
Mr Smith's user avatar
  • 331
4 votes
4 answers
13k views

Refused to load the image '<URL>' because it violates the following Content Security Policy directive: "img-src 'self' data:"

after i uploaded my website on herokuy the images do not working and it gave me that error Refused to load the image '' because it violates the following Content Security Policy directive: "img-...
Ammar Lee's user avatar
4 votes
2 answers
3k views

How to resize the image before uploading to cloudinary?

This is my first time to post a question here. I was building a meteor app with image uploading functions. I found a cloudinary package for meteor https://github.com/Lepozepo/cloudinary and it works ...
Tao  Liu's user avatar
  • 41
4 votes
4 answers
2k views

CKEditor Carrierwave Cloudinary

I'm trying to get CKEditor to work with Carrierwave and Cloudinary. So far, non-CKEditor enabled views with a regular file upload field are working perfectly with Carrierwave & Cloudinary. However,...
Eric Norcross's user avatar
4 votes
2 answers
10k views

How to Send Images as Attachments with Mailgun and Node.js?

I am attempting to send images as attachments to emails but I am having trouble figuring out how to accomplish this. I am using Mailgun to send the mail, Cloudinary to upload the images, MongoDB as ...
Jordan Pisani's user avatar
4 votes
2 answers
817 views

Cloudinary multiple image upload in django?

I have an image upload defined as follows in my Django app with Cloudinary package, class Photo(models.Model): photo = CloudinaryField('image') I Would like to make this field upload mutliple ...
All Іѕ Vаиітy's user avatar
4 votes
7 answers
15k views

cloudinary error: must supply api-key - /node_modules/cloudinary/lib/utils.js:982

I am using cloudinary to upload photos on my webpage. I have added a new function to the webpage ( facebook login) and now the cloudinary throw an error when I try to upload a photo like before. "/...
Gábor Kereszthegyi's user avatar
4 votes
1 answer
7k views

upload preset must be specified when using unsigned upload cloudinary

am trying to upload files directly from my front-end(Angular 8) using the cloudinary API_URL but am still getting the same bad request (400) and the same error "Upload preset must be whitelisted ...
AOUADI Slim's user avatar
4 votes
5 answers
2k views

cloudinary java not able to upload image

my code is below.I try to upload image into cloudinary through java but not uploaded it shows the below error Exception in thread "main" java.lang.UnknownError: Can't find Cloudinary platform ...
Lakshmanan Murugan's user avatar
4 votes
2 answers
2k views

Cloudinary widget use in React

I am new to React. I am looking for a good way to upload photos to Cloudinary. I saw the Cloudinary widget but I am having trouble implementing it in a React app as described: https://cloudinary.com/...
Sean Kelley's user avatar
4 votes
2 answers
5k views

The "path" argument must be of type string or an instance of Buffer or URL cloudinary and nodejs

I am trying to create a method that client can upload image from front end to back end server and then store the images to cloudinary but I end up getting this error: TypeError [ERR_INVALID_ARG_TYPE]:...
Nathan Nguyen's user avatar
4 votes
2 answers
1k views

Django media on Heroku, Boto or Cloudinary

I'm developing for a client a Django CMS project that uses Aldryn Blog via an apphook. I'm attempting to deploy to Heroku. Because of Heroku's ephemeral file system, media will have to be hosted ...
lwiseman's user avatar
  • 748
4 votes
1 answer
1k views

How can I limit the file size for a direct cloudinary upload (client side jquery)

I cant find in the documentation how to limit the size of the file when using direct upload. I am generating the file upload input field in the server side using: cloudinary.uploader....
adeleinr's user avatar
  • 665

1
2 3 4 5
34