Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

We.js Cloudinary plugin ☁️

Cloudinary file storage plugin for We.js, upload files to Cloudinary and save metadata in file or image model

Suport for resize images based in image styles configuration

This plugin adds the cloudinary storage strategy in We.js projects

Installation

we i we-plugin-file-cloudinary

Configuration

Create one account in http://cloudinary.com

And add account configuration and change default storage in config/local.js file:

  // ----
  apiKeys: {
    cloudinary: {
      'cloud_name': 'clowdname',
      'api_key': 'apikey',
      'api_secret': 'apisecret'
    }
  },
  // change default image and file storage to cloudinary:
  upload: {
    defaultImageStorage: 'cloudinary',
    defaultFileStorage: 'cloudinary'
  }
  // ----

Links

Testing

  • Configure one cloudinary keys in config/local.js file
  • run npm test

NPM Info:

NPM

Copyright and license

Under the MIT license.

About

☁️ Cloudinary file storage plugin for we.js ☁️

Resources

Releases

No releases published

Packages

No packages published