okland / camera-ui Goto Github PK
View Code? Open in Web Editor NEWMeteor package for taking photos with user interface, one function call on desktop and mobile. Allows to choose between camera to photoLibrary on mobile.
Meteor package for taking photos with user interface, one function call on desktop and mobile. Allows to choose between camera to photoLibrary on mobile.
Thanks for a fantastic package @okland. Getting this message, and wondered if you'd seen it?
'MediaStream.stop()' is deprecated and will be removed in M47, around November 2015. Please use 'MediaStream.active' instead.
Hello,
I'm trying to save state in callback like
MeteorCameraUI.getPicture( { cameraOptions }, function( error, data ) {
if (error) {
console.log(error);
} else {
this.setState({
image_data: data
});
}
});
... getting: TypeError: this.setState is not a function
Also tried with setting binding like this
MeteorCameraUI.getPicture( { cameraOptions }, function( error, data ) {
if (error) {
console.log(error);
} else {
this.setState({
image_data: data
});
}
}.bind(this));
same result.
Hi friend, I'm using your library for user profile management but it does not work on my physical android device in the simulator if I load the images.
It gives me the option to select and search for a photo but it does not show it to me on the screen. Any suggestions.
Android is in the portrait mode, camera as well.
The final picture gets rotated.
If I rotate camera into horizontal position, it works ok.
same issue on mdg:camera
any idea how to solve?
android 5.0.2, samsung galaxy s5
I work using angular-meteor. and got this error. so i dont use blaze
Is there a way to automatically crop images to a square when using this library? My photos are coming back rectangular, and when I stick them in a square space in a template, they are being squeezed in one direction or the other. I'm new to Meteor, so perhaps there is a better way to handle this, but I thought this would be a good place to ask. Thanks for your help!
Hi,
With iOS,
When I choose a photo from gallery, if this one is portrait mode, the photo rotate 90ΒΊ. else if landscape mode works correcly.
any idea?
thanks
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.