Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/signalkuppe/vuetify-cloudinary-upload
A simple image upload widget for Cloudinary and Vuetify
https://github.com/signalkuppe/vuetify-cloudinary-upload
Last synced: 24 days ago
JSON representation
A simple image upload widget for Cloudinary and Vuetify
- Host: GitHub
- URL: https://github.com/signalkuppe/vuetify-cloudinary-upload
- Owner: signalkuppe
- License: mit
- Created: 2017-12-20T13:33:19.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-20T14:18:41.000Z (about 7 years ago)
- Last Synced: 2024-10-14T07:11:33.749Z (2 months ago)
- Language: Vue
- Size: 243 KB
- Stars: 8
- Watchers: 3
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Vuetify Cloudinary Upload Widget
A simple upload widget with progress indicator made for [Vuetify](https://vuetifyjs.com/) and [Cloudinary](https://cloudinary.com)
[Demo](https://i.imgur.com/3iTZ2in.gifv)
## Install
```bash
npm install vuetify-cloudinary-upload
```## Usage
Import the component
```js
import vuetifyCloudinaryUpload from 'vuetify-cloudinary-upload'
export default {
components: { vuetifyCloudinaryUpload }
}
```Use it in your template
```html
```## Params
### v-model
Type: `String`
Required: the data you want to bind### upload-preset
Type: `String`Required: [The cloudinary upload preset](https://cloudinary.com/documentation/upload_images#upload_presets)
### cloud-name
Type: `String`Required: The name of your Cloudinary account
### transformation
Type: `String`
Default: `w_120,h_120,c_fill,g_auto,q_auto,f_auto`The image transformation (uploaded image format)
### button-color
Type: `String`
Default: ``Vuetify's upload button color
### button-dark
Type: `Boolean`
Default: `false`Upload button dark variant (makes text white)
### button-icon
Type: `String`
Default: `add_a_photo`The upload button icon
### button-text
Type: `String`
Default: `Add image`The upload button text
### delete-text
Type: `String`
Default: `Delete`The delete button text
### progress-size
Type: `Number`
Default: `100`Size of the circular progress indicator
### progress-stroke
Type: `Number`
Default: `15`Stroke size of the circular progress indicator
### progress-color
Type: `String`
Default: `primary`## Notes
The component uses FormData and XMLHttpRequest features, so watch out for browser support