jasontdc / com.jasontdc.webcamphoto Goto Github PK
View Code? Open in Web Editor NEWA CiviCRM extension that allows you to add contact photos using your webcam.
License: Other
A CiviCRM extension that allows you to add contact photos using your webcam.
License: Other
The image saved when taking a webcam photo is cropped to 480x480px. The crop values should be customizable so that users can save photos will different aspect ratios and resolutions.
When taking a photo for a contact that already has a photo, the old photo is displayed for a moment after clicking the Save button, before being abruptly replaced by the new photo when the upload is complete. The old photo should be replaced by a loading/progress indicator during the upload.
Steps to reproduce:
When saving a new photo for a contact, the contact's old photo is left on the filesystem.
Users or administrators should have the option to delete or overwrite old photos when saving a new one.
The Photo tab does not work when using an older model webcam that has a maximum resolution that is lower than 640x480. An error is displayed when the user clicks the "Take a photo" button.
The reason for this is that the dest_height and dest_width parameters are hard-coded to 640x480. These values should be user/administrator-configurable, and/or the tab should attempt to fall-back to a lower resolution when a higher one doesn't work.
See also issue #1
After taking a photo for a new contact that did not already have one, the photo that is displayed in the Summary tab is not updated to show the new photo.
Steps to reproduce:
The strings in the UI messages are hard-coded and don't use the ts() function, so they can't be localized to other languages.
After saving a new photo in the Photo tab, the webcam is not properly released, and remains active until the user reloads the page or navigates to a new page.
Steps to reproduce:
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.