sdk
Discussion List
-
Search API: search by created_at with timestamp
Using the search API, I can search by created_at with this expression: "created_at>2023-09-01" But how can I include a timestamp? If I follow the format from this documentation: https://cloudinary.com/documentation/search_api#expression_fields "created_at>2023-09-01T08:00:00Z" I get the error: "Query Error (at position 25)…
-
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…
-
PHP: Logger Incompatible with PSR/Logger
I'm using the cloudinary/cloudinary_php:^2.0 SDK. I am simply trying to retrieve the images uploaded to my account with the documentation-provided code: $config = Configuration::instance($_ENV['CLOUDINARY_URL']); $cloudinary = new Cloudinary($config); $result = $cloudinary->adminApi()->assets(); No matter how I structure…
-
Importance of query params added by JS SDK-- is it OK to remove?
The following code (in Node.js / React) in some cases produces URLs with query parameters appended to the URL: import { Cloudinary } from "@cloudinary/url-gen"; const cld = new Cloudinary({ cloud: { cloudName: '__redacted__' }, }); const url = cld .image('ID') .quality("auto") .resize(fit(size)) .delivery(format(isSvg ?…
-
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 }…
-
Search for empty value in metadata field AND specific value in another metadata field
I can search for an empty value in a metadata field with this expression: -metadata=client_award_level I can search for a value in a metadata field with this expression: metadata.material_number="49738066" But I get an error when I try to combine them with 'AND' -metadata=client_award_level AND…
-
Delete without a key? (client-side application)
Hi, I'm running a client side application. A long time ago, before I knew much about JS and front-end dev, I had setup some wrapper around the cloudinary endpoint, so my users can upload pictures, and delete them. While reviewing my code, I found that I use an api key in the bundled js. This is of course A Very Bad Idea.…
-
Query on implementing Image upload Widget & Media Editor Widget in React
hey folks.. I'm looking to achieve a React implementation where my Media Editor opens straight to allow the user to edit the pic that's just uploaded via Upload widget (i.e. following the e.g. in https://codesandbox.io/s/uw-mew-forked-dudee6?file=/src/index.js) . When I try running mediaEditorWidgetRef.getConfig() it…
-
News: Updated Vue.js SDK
Our Cloudinary Vue.js SDK now supports Vue 3. With this SDK, you can easily transform, and deliver image assets within your Vue.js applications, saving you time and effort while building more powerful and feature-rich applications. More info and links here: https://cloudinary.com/documentation/vue_integration
-
NEW: Beta release of Cloudinary Flutter SDK
Hi all -- today's news is that we have a beta release of Cloudinary's Flutter SDK available. This SDK lets you integrate image and video transformation, optimization, and delivery capabilities seamlessly with your existing Flutter application. Cloudinary's Flutter SDK is built on Cloudinary's Dart library and offers…