Developer APIs
Discussion List
-
How can I avoid 401 errors on signed uploads
Hi I have a node.js feature to generate signed urls to then upload them from the frontend of my application. I'm currently trying to upload a jpg from my test suite to check whether the signed urls work or not. The code used can be found below: async getAssetUploadUrl(id: InvoiceId): Promise<Url> { const timestamp =…
-
Using Cloudinary w/o a Build Step
If I were building a simple web-based project (not Vue, or React, just vanilla), what would be the preferred way to import Cloudinary w/o doing an npm install and using a build process? I can definitely do so with a parcel build, and that's relatively simple, but lets say I was looking for a bundled Cloudinary JS SDK I…
-
I can't find jquery.js file in my Django project
So I've been having an error in my Django project, which happens when I turn off the Debug and run the project. (I'm using django-cloudinary-storage library.) I was digging into the issue, and found out that there was no admin/js/jquery.js file in my staticfiles folder. All the other static files are located in the folder,…
-
I can't find admin/js/jquery.js file in my Django project.
So I'm using django-cloudinary-storage library, and recently got into an error when Debug=False. I was looking into the issue and found out that there is no admin/js/jquery.js file. All the other static files are located in that specific folder, all hashed as the all should be. But I there was no admin/js/jquery.js file,…
-
I get TypeError in my Django project when Debug=False
so I have this Django project, using django-cloudinary-storage . But when I turn on the Debug, I get this error saying : TypeError: expected str, bytes or os.PathLike object, not NoneType. I don't understand what I did wrong. could you take a look at the traceback and see what went wrong? Thanks. If you need any further…
-
Difference cl_image_path and cloudinary_url
Hello, I use Cloudinary in one App with Rails (and Active Storage). I specified in folder to store the uploaded image in the config.storage.yml (). I want to recover the images's url but I tried the 2 methods below, and the results are differents. Method 1: Cloudinary::Utils.cloudinary_url(key) => result:…
-
Moving cloudinary cold data to s3
Hi I would like to move cold data from our storage on cloudinary to s3 but still be able to access it using our cloudinary with transformations if needed.
-
Lets Talk Duplicate Image Detection
I know this is still only in Alpha, but I am super excited about this feature! I am attempting to follow along with the instructions at: https://cloudinary.com/documentation/cloudinary_duplicate_image_detection_addon, but i am getting lost. What I am attempting to do is check our existing library for existing duplication,…
-
Upload video with multer and cloudinary - can't read req.file
In my Mern-Stack I have build a fileuploader using multer and cloudinary. The upload of images works really fine, but when I try to upload a video, the console tells me: "Cannot read property "path" of undefined". I console.log my FormData on the whole way. In my dashboard, my redux-slice, my redux-service. Everywhere the…
-
Revolving text using the distort effect
The distort effect changes the shape of an image based on a set of new coordinates representing the relative new position for each of its 4 corners. The rest of the image is then distorted and stretched to smoothly fit the new dimensions.…
-
cloudinary-react Upload Widget 1.0 no longer available
I keep getting this error in the console when viewing my site, and it seems like the cloudinary-react library stopped working overnight. I have a site where users can create activities and upload images to them. The upload functionality has been working just fine for several years, but this morning I started receiving…
-
Cloudinary Vue JavaScript API how can I get the pixellate effect when loading the image
Hey all, I have a directive that gets an image using the JavaScript API. Currently it looks like this: const url = cloudinaryCore.url(publicId, { secure: true, transformation: [ { height, width, gravity, crop, quality: "auto", fetchFormat: "auto", }, ], }); This works and I can apply the image to the background as so:…
-
Knowing what to avoid in an image
You may have used the Cloudinary AI Content Analysis add-on to help you to keep certain objects in the picture when cropping images, but did you know you can also use it to crop out unwanted objects? You may not necessarily know what you want to focus on in an image, but you definitely know what you don't want to see. With…
-
Self-referencing variables in transformations
There are lots of times when you might want to overlay (or underlay) a different transformation of the same image. For example, you might want to have a small, cropped and zoomed version of a product as a layer over a full sized image of a product, or you might want a blurred landscape version of a picture as the…
-
Moderating user-generated content efficiently
How do you keep content that users post on your site high-quality and appropriate, free of viruses or malware, once you’ve grown to the point that manually moderating each user submission is unwieldy? Inviting user-generated content can serve many purposes for different kinds of sites. For example, if you own a news site,…
-
On-the-fly Background Removal
Background removal is one of my favorite tools baked-in to Cloudinary, but it always required a bit of extra effort to both upload it and figure out when the background removal process is completed. The good news is now we can remove backgrounds on the fly 🤩 Simply add the e_background_removal transformation and you're…
-
Using API via Cloudinary's SDK vs. RESTful API
Cloudinary's SDK libraries may be used with our Programmable Media product to wrap RESTful APIs for easier interaction, integrating seamlessly with your existing application code. SDKs are available for the most popular frontend, backend, and mobile programming languages. Advanced capabilities are available using SDKs with…
-
[JavaScript] Upload Multiple Images at Once Using Cloudinary’s Upload API
If you're working in the Node.js ecosystem and want to upload multiple assets to your Cloudinary account, using our Upload API is going to be your best bet. First, ensure you have the most up to date version of Node.js Next, let's use the Cloudinary Node SDK to simplify our implementation. Our amazing documentation team…