aspose file tools*
The moose likes JSF and the fly likes Uploading a live Photo in JSF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Uploading a live Photo in JSF" Watch "Uploading a live Photo in JSF" New topic
Author

Uploading a live Photo in JSF

Lav Bull
Greenhorn

Joined: May 25, 2013
Posts: 3
Hello guys,
I have a JSF (ICEFACES) application in which I want to allow my user of my application the feature of uploading his/her image/photo. Currently a user can browse his/her computer and upload photo. Now my requirement is that I also want to give him the feature of uploading his Profile Picture using his webcam or some similar kind of device. (In other words a live photo upload to be implemented in JSF or ICEFACES).

I want to know if this kind of thing can be implemented. If yes how can I achieve this?

Reference: (Similar kind of functionality can also be seen in Facebook where we can upload a live photo!!)

Any help would greatly be appreciated. :)

Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16065
    
  21

Welcome to the JavaRanch, Lav!

Actually, for less than $100, I once bought a webcam system that included a USB camera with night-lighting capabilities plus a matchbox-sized control unit that was an entire server. It could run 2 USB cameras, act as a website for the webcams, email images when motion was detected, restrict access to authorized users and do much, much more. I was really disappointed when it died, since apparently it isn't being manufactured any more.

For security reasons, no web server can take control of a client computer's webcam and operate it remotely. I think the common work-around to that is to download a Flash app that talks to the camera and uploads to the server.


Customer surveys are for companies who didn't pay proper attention to begin with.
Lav Bull
Greenhorn

Joined: May 25, 2013
Posts: 3
Thanks Tim for the reply. I will give a try to use a Flash app and integrate it with my application. Will again pester you if I get stuck... ;)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Uploading a live Photo in JSF