{"id":19312016,"url":"https://github.com/weblineindia/vue-image-crop-upload","last_synced_at":"2025-04-22T15:31:41.466Z","repository":{"id":39797053,"uuid":"272908655","full_name":"weblineindia/Vue-Image-Crop-Upload","owner":"weblineindia","description":"A Vue component for image cropping and uploading. ","archived":false,"fork":false,"pushed_at":"2022-05-25T13:09:00.000Z","size":479,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-30T12:16:02.838Z","etag":null,"topics":["crop","image-crop","image-upload","image-upload-tool","upload","vue","vue-component","vue-component-library","vue-components","vue-image","vue-image-loader","vue-plugin","vue-plugins","vuecomponent","vuecomponents","vuejs","vuejs-components","vuejs-library","vuejs-plugin","vuejs-snippets"],"latest_commit_sha":null,"homepage":"https://www.weblineindia.com/software-development-resources.html","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/weblineindia.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-17T07:35:13.000Z","updated_at":"2023-01-19T07:50:27.000Z","dependencies_parsed_at":"2022-08-28T02:52:01.619Z","dependency_job_id":null,"html_url":"https://github.com/weblineindia/Vue-Image-Crop-Upload","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FVue-Image-Crop-Upload","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FVue-Image-Crop-Upload/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FVue-Image-Crop-Upload/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FVue-Image-Crop-Upload/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weblineindia","download_url":"https://codeload.github.com/weblineindia/Vue-Image-Crop-Upload/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223900372,"owners_count":17222028,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["crop","image-crop","image-upload","image-upload-tool","upload","vue","vue-component","vue-component-library","vue-components","vue-image","vue-image-loader","vue-plugin","vue-plugins","vuecomponent","vuecomponents","vuejs","vuejs-components","vuejs-library","vuejs-plugin","vuejs-snippets"],"created_at":"2024-11-10T00:32:08.254Z","updated_at":"2024-11-10T00:32:20.174Z","avatar_url":"https://github.com/weblineindia.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vue-Image-Crop-Upload\n\nA Vue.js component for Image-Upload.\n\n## Table of contents\n\n- [Browser Support](#browser-support)\n- [Demo](#demo)\n- [Getting started](#getting-started)\n- [Usage](#usage)\n- [Available Props](#available-props)\n- [Want to Contribute?](#want-to-contribute)\n- [Need Help / Support?](#need-help)\n- [Online Demo](#online-demo-of-vuejs-image-crop-upload)\n- [Changelog](#changelog)\n- [Credits](#credits)\n- [License](#license)\n- [Keywords](#Keywords)\n\n## Browser Support\n\n![Chrome](https://raw.github.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png) | ![Firefox](https://raw.github.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png) | ![Safari](https://raw.github.com/alrra/browser-logos/master/src/safari/safari_48x48.png) | ![Edge](https://raw.github.com/alrra/browser-logos/master/src/edge/edge_48x48.png) | ![IE](https://raw.github.com/alrra/browser-logos/master/src/archive/internet-explorer_9-11/internet-explorer_9-11_48x48.png) |\n--- | --- | --- | --- | --- |\n83.0 ✔ | 77.0  ✔ | 13.1.1 ✔ | 83.0 ✔ | 11.9 ✔ |\n\n## Demo\n\n[![](image.gif)](https://github.com/weblineindia/Vue-Image-Crop-Upload/image.gif)\n\n## Getting started\n\nInstall the npm package:\n\n``` bash\nnpm install vue-weblineindia-image-crop-upload\n#OR\nyarn add vue-weblineindia-image-crop-upload\n```\n\nneed css loader, ex: `sass-loader`, if you haven't installed :\n\n```bash\nnpm install -D sass-loader node-sass\n#OR\nyarn add -D sass-loader node-sass\n```\n\n## Usage\n\nUse the `\u003cvue-weblineindia-image-crop-upload\u003e` component:\n\n```vue\n\u003ctemplate\u003e\n  \u003cdiv\u003e\n  \u003cVueImageUpload/\u003e\n  \u003c/div\u003e\n\u003c/template\u003e\n\n\u003cscript\u003e\n// import vue-weblineindia-image-crop-upload\nimport VueImageUpload from 'vue-weblineindia-image-crop-upload'\n\nexport default {\n  components: {\n    VueImageUpload,\n  },\n}\n\u003c/script\u003e\n```\n\n## Available Props\n\n| Prop | Type | default | Description |\n| --- | --- | --- | --- |\n| value | String |   | Set blob url  |\n| id | String |   | Id of the component |\n| isCrop | boolean | true  |  Enables crop image |\n| isRoundCrop | boolean | true  |  Use a round clipping area, this only effect the component layout, clipping results are still rectangular|\n| acceptedFiles | Array | image, image/jpeg, image/jpg, image/png, png | Set image type |\n| disableButton | boolean | false  | Set disable button |\n| buttonName | String | Upload image  | Set image upload button name |\n| imagesize | Number | 5000000 byte | Set size of image (byte) |\n| imageUploadErrorMessage | String | Only jpg, jpeg and png are allowed. | Image format error message |\n| imageSizeErrorMessage | String | Failed to upload an image. The image maximum size is 5MB. | Image Size error message |\n| invalidImageErrorMessage | String | The uploaded image is not valid. | Invalid image error message |\n| isLandscape | boolean | false  | Set landscape image |\n| isPortrait | boolean | false  | Set Portrait image |\n\n## Want to Contribute?\n\n- Created something awesome, made this code better, added some functionality, or whatever (this is the hardest part).\n- [Fork it](http://help.github.com/forking/).\n- Create new branch to contribute your changes.\n- Commit all your changes to your branch.\n- Submit a [pull request](http://help.github.com/pull-requests/).\n\n-----\n\n## Need Help? \n\nWe also provide a free, basic support for all users who want to use this VueJS Image Upload in their software project. In case you want to customize this Image Upload to suit your development needs, then feel free to contact our [VueJS developers](https://www.weblineindia.com/hire-vuejs-developer.html).\n\n-----\n\n## Online Demo of VueJS Image crop upload\n\nWe have also hosted this code on our website for a quick DEMO. Please click here for the demo of [VueJS Image Crop Upload](https://www.weblineindia.com/software-development-resources.html) online.\n\n------\n\n## Changelog\n\nDetailed changes for each release are documented in [CHANGELOG.md](./CHANGELOG.md).\n\n## Credits\n\nvue-weblineindia-image-crop-upload is inspired by the [vuejs-clipper](https://www.npmjs.com/package/vuejs-clipper).\n\n## License\n\n[MIT](LICENSE)\n\n[mit]: https://github.com/weblineindia/Vue-Image-Crop-Upload/blob/master/LICENSE\n\n## Keywords\n\nvue, vue-weblineindia-image-crop-upload,vue-image-upload,vue,image-crop,vue-image-crop-upload\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweblineindia%2Fvue-image-crop-upload","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweblineindia%2Fvue-image-crop-upload","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweblineindia%2Fvue-image-crop-upload/lists"}