Last updated by admin 1 year ago
grails install-plugin web-snaps
Last updated by chandrasmailbox 1 year ago
Introduction
User can take the snap-shots using Webcam through the browser.
Example Usage
Create a grails application TestPlugin using command
grails create-app TestPluginmove to TestPlugin Directory using following command
cd TestPluginand install the plugin using following command
grails install-plugin web-snapsEdit the index.gsp in TestPlugingrails-appviews in notepad or any editer.
Add the following line in <head> tag
<webcam:head/>Then whereever you require the webcam snap functionality add the following line of code.
<webcam:webcamAnchor/>Thats it. run the application
Once application is running access the following url
http://localhost:8080/TestPluginyou have a webcam image

click on that image, it will open pop-up window.
click on
snap button for taking the snap shot
click on the
save button for saving the image in your desktop
you can upload this image by normal file upload.
TODOS
- Identifying the flashplayer9 installed or not. if not provide Express Installation.
- Identify whether user has webcam or not.
- Create a Demo Apllication with spring security to provide user to take the snap-shot and upload of image while registration.
Author
chandra sekhar reddy
chandrasmailbox@gmail.com
License
Licensed under the Apache License, Version 2.0. See http://www.apache.org/licenses/LICENSE-2.0.
Tested on firefox 3 + ,Windows VistaFlash9 player Required in your browser.
Last updated by admin 1 year ago
Last updated by admin 1 year ago