vue-cloudinary
A Vue.js plugin that offers a reusable directive to get image from cloudinary
Overview
This is a port of the angular-cloudinary library to VueJS.
Use cases
- Show image from cloudinary
Requirements
- vue: ^2.0.0
If you need a version for Vue 1, sorry, you'll need to do your own.
Install
From npm:
$ npm install vue-cloudinary --save
Usage
app.js:
Vue;
(*) See cloudinary documentation for a complete list of the options available.
index.html
Further image manipulation options are listed in this reference.
Note that the attribute names in the docs are using snake_case, however this SDK supports both snake_case and kebab-case for attribute names, e.g. both fetch_format: 'auto' and 'fetch-format': 'auto' are eventually translated to f_auto.