Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@zapier/builder-plugin-cloudinary

Package Overview
Dependencies
Maintainers
186
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zapier/builder-plugin-cloudinary

Cloudinary media library widget for Builder.io

  • 1.1.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
24
increased by26.32%
Maintainers
186
Weekly downloads
 
Created
Source

Builder + Cloudinary Plugin

Installation

From the organization settings page in Builder, click the edit button next to "Plugins", click "Add plugin", enter "@zapier/builder-plugin-cloudinary", then click "Save".

Usage

After adding the plugin in Builder, it can be used in a component by defining an input with type: 'cloudinaryImage.

Builder.registerComponent(Image, {
  name: 'Image',
  inputs: [
    {
      name: 'src',
      type: 'cloudinaryImage',
    },
  ],
});

The value passed to the component is a URL that can be used with a standard HTML <img> element. When an image is selected from the Cloudinary media library, some default transformation parameters (f_auto, q_auto) are automatically added to the URL.

function Image(props) {
  return <img src={props.src} />;
}

Configuration

When opening the media library for the first time, you will be prompted to enter a Cloudinary cloud name and API key. These can be changed at anytime by clicking the settings button next to the "Media Library" button.

FAQs

Package last updated on 20 Jul 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc