A Lightweight Vue.js Core Image Upload Plugin

Vue core image upload is a lightweight Vue.js upload plugin that supports image upload, cropping, and compression. It also supports image processing on the mobile side, defines several load cycles, and you can control the process freely.

vue image crop upload, vue image cropper, vue crop image before upload, vue advanced cropper example, vue image upload, vuetify image cropper

[jQuery] Add Image Cropper With Upload to Your Web Application

How to make use of it:

Install & Download:

npm i vue-core-image-upload --save


  :class="['btn', 'btn-primary']"
  url="your server url" >
import VueCoreImageUpload  from 'vue-core-image-upload';

new Vue({
  el: '#app',
  components: {
    'vue-core-image-upload': VueCoreImageUpload
  data: {
    src: ' ',
  methods: {
     imageuploaded(res) {
      if (res.errcode == 0) {
        this.src = ' ';


PropsData TypeExampleDetails
urlString‘/crop.php’Your server API
textString‘Upload Image’The text of your uploading button
inputOfFileString      ‘file’Your input[file] name
extensionsString‘png,jpg,gif’Limit the image type
cropBoolean‘server’Crop image option
cropRatioString‘1:1’The cropped image shape
cropBtnObject{ok:’Save’,’cancel’:’Give Up’}The Text cropping button text
maxFileSizeNumber10485760(10M)Limit the size of the file
maxFileSizeNumber10485760(10M)Limit the size of the file
multipleSizeNumber5Limit the count of the file
maxWidthNumber150The maximum width of the cropped image
inputAcceptstring‘image/*’ / ‘image/jpg,image/jpeg,image/png’the input[file] accept
compressNumber50Set the quality of the compressed image
isXhrBooleantrueIF cancel ajax uploading
headersObject{auth: xxxxx}Set customed header when ajax uploading
dataObject{auth: xxxxx}Set customed data when ajax posting server

vue plugin for image to crop and upload, vue core image upload library Github, vue avatar cropper, vue image resize

See Demo And Download

Official Website(Vanthink-UED): Click Here

This superior jQuery/javascript plugin is developed by Vanthink-UED. For extra Advanced usage, please go to the official website.

Related Posts


CSS Layout Components Horizontal/Vertical Stack | HStack and VStack

HStack and VStack in CSS – CSS layout components that (basically) stack anything horizontally and vertically. A pure CSS library that makes it easy to stack elements…


How to Add Floating Whatsapp Chat Button In HTML | venom-button

Venom Button is a very simple plugin for the jQuery floating WhatsApp button. Adds a floating button to your site that calls WhatsApp Click to Chat API. It will automatically start the WhatsApp…


Interactive Data Table Generator with JS/jQuery and JSON | Tabulator

Tabulator allows you to create interactive tables in seconds from any HTML Table, JavaScript array, AJAX data source, or JSON format data. Just include the library in your…


Simple Alert, Confirm, Prompt Popup Using Vanilla JavaScript Library | attention.js

JavaScript provides various built-in functionality to display popup messages for different purposes. Attention JS is a vanillaJS plugin used to create a custom alert, confirm, or Prompt…


Bootstrap 4 Sidebar Menu Responsive Template | MDB

Bootstrap Side Navbar – Responsive sidebar template based on the Bootstrap 4 framework. An easy-to-use, totally responsive, Google Material Design impressed aspect navigation for modern web app…


Lightweight Bootstrap 4 Toast Notification Plugin | BS4 Advanced Toast

A lightweight Bootstrap 4 Toast Notification plugin integrated with JS/jQuery. bs4-toast.js is a JavaScript library that enhances the native Bootstrap toast component with icons, buttons, callbacks, and…

Leave a Reply

Your email address will not be published. Required fields are marked *