Installing Next Cloudinary - Next Cloudinary

Getting Started

If using the Cloudinary Upload Widget and using Signed Uploads, you'll likely also want to also set your Cloudinary API Key and API Secret.

The API Key is a publicly available value where the Secret must be kept private only to be used on the server.

Global Configuration

Here are all of the available configurable environment variables for Next Cloudinary:

Using Next Cloudinary

Learn how to add one of the Next Cloudinary components:

  • CldImage: Optimize Cloudinary images with ready-to-use transformations
  • CldOgImage: Easy-to-use OG Image and Social Media Cards
  • CldUploadButton: Drop-in button that opens the Cloudinary Upload Widget
  • CldUploadWidget: Cloudinary Upload Widget with a customizable UI
  • CldVideoPlayer: Deliver Cloudinary video assets with a customizable player

Or use the helper methods to generate URLs:

  • getCldImageUrl: Construct a Cloudinary image URL using the same API as CldImage
  • getCldOgImageUrl: Create a Cloudinary image URL specifically for OG Images or Social Media Cards

Next.js 13/14