Plugins You can find out about all the publicly available Grails plugins.

WebCam Snaps through WebPage

  • Tags: webcam, snaps, flash
  • Latest: 0.1
  • Last Updated: 05 August 2010
  • Grails version: 1.3.2 > *
  • Authors: null
3 votes
compile "org.grails.plugins:web-snaps:0.1"




grails install-plugin web-snaps



User can take the snap-shots using Webcam through the browser.

Example Usage

Create a grails application TestPlugin using command

grails create-app TestPlugin

move to TestPlugin Directory using following command

cd TestPlugin

and install the plugin using following command

grails install-plugin web-snaps

Edit the index.gsp in TestPlugingrails-appviews in notepad or any editer.

Add the following line in <head> tag


Then whereever you require the webcam snap functionality add the following line of code.


Thats it. run the application

Once application is running access the following url


you 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.


  • 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.


chandra sekhar reddy

[email protected]


Licensed under the Apache License, Version 2.0. See

Tested on firefox 3 + ,Windows Vista

Flash9 player Required in your browser.