avidofood / vue-cropgram Goto Github PK
View Code? Open in Web Editor NEWUpload multiple images similar to how you upload images on Instagram (Cropper).
Home Page: https://avidofood.github.io/vue-cropgram
License: MIT License
Upload multiple images similar to how you upload images on Instagram (Cropper).
Home Page: https://avidofood.github.io/vue-cropgram
License: MIT License
Hey,
thank you for incredible work; Its awesome!
Is there a way to select multiple images same time?
How to set fixed width and height?
All mobile uploads (eg. taking photo) are being rotated and displaying the wrong image orientation.
Images seems not to be cropped on call the save() method, like shown in the following example
createFormData() {
const result = await this.$refs.cropgram.save()
const data = new FormData();
//list of your pics
result.forEach((picture, index) => {
data.append(`media[${index}]`, picture.url || picture.blob);
});
return data;
},
`
I'm also get the following error, after toggling the badge (num) on the thumbnails:
Vue warn]: Error in v-on handler (Promise/async): "TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The provided value is not of type '(CSSImageValue or HTMLImageElement or SVGImageElement or HTMLVideoElement or HTMLCanvasElement or ImageBitmap or OffscreenCanvas)'"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.