Description
Webcam field widget module provides a "photoboot" widget for the Field API. Instead of uploading images to an image field attached with Field API to a content type you can use your webcam to capture an image.
To use the module just add an image field to your content type and select the webcam field widget as the widget for the field.
Similar projects
Media Webcam: Created for Drupal 6 CCK. Not working on Drupal 7. Also provides video capture capabilities.
Mugshot: Drupal 5 version only.
Camera field: Based on Mugshot, only beta for Drupal 6. Does not provide source of flash file.
Not similar projects but similar names:
Wecams: Provides "dynamically updating webcam nodes."
Webcam field: Same as above.
Links:
Link to project.
Git access: git clone --branch 7.x-1.x http://git.drupal.org/sandbox/ooystein/1616836.git webcam_field_widget
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | webcam1.png | 27.21 KB | pranit84 |
| #2 | webcam2.png | 18.8 KB | pranit84 |
| #2 | webcam3.png | 11.35 KB | pranit84 |
Comments
Comment #1
PA robot commentedThere are some errors reported by automated review tools, did you already check them? See http://ventral.org/pareview/httpgitdrupalorgsandboxooystein1616836git
We are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)
Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #2
pranit84Manual Review
Concept of this module is really good, i downloaded this module and enabled it.
After that i added a field of image type and widget as webcam with unlimited value property.
Till then everything looks fine.
Once i opened the node form to check the functionality. I found it is not working as desired.
Sharing some screenshots for more clarification.
webcam1.png: On opening node/add/ form. It looks like this. Even after clicking allow, nothing happens.
webcam2.png: On clicking
. Blank boxes appeared.
webcam3.png: Automatically those boxes gets changed with the error messages.
In short, it doesn't worked for me.
Comment #3
ooystein commentedPA robot's feedback is taken to account in commit b6dca4b.
pranit84: thanks for the review.
This problems is solved in commit ec874ebe. Multiple field values can now be handled.
Some problems with jQuery 1.5 though. Upgrade to jQuery 1.7 to use multiple field inputs.
Comment #4
linwiz commentedManual review:
I had no issues getting this module to work, easy to use.
Automated review:
Issues are reported at http://ventral.org/pareview/httpgitdrupalorgsandboxooystein1616836git
I ran this through coder module, reports:
Comment #5
ooystein commentedThanks linwiz.
All reported coder warnings have been addressed in latest commit. Some new coder warnings arrived but will be fixed in next commit.
Comment #6
dclavain commentedHi @ooystein
automated report
FILE: /var/www/drupal-7-pareview/pareview_temp/webcam_field_widget.js
--------------------------------------------------------------------------------
FOUND 4 ERROR(S) AFFECTING 2 LINE(S)
--------------------------------------------------------------------------------
125 | ERROR | Expected 1 space after ">"; 0 found
125 | ERROR | Expected 1 space before ">"; 0 found
126 | ERROR | Expected 1 space after ">"; 0 found
126 | ERROR | Expected 1 space before ">"; 0 found
--------------------------------------------------------------------------------
FILE: /var/www/drupal-7-pareview/pareview_temp/webcam_field_widget.module
--------------------------------------------------------------------------------
FOUND 7 ERROR(S) AND 1 WARNING(S) AFFECTING 8 LINE(S)
--------------------------------------------------------------------------------
137 | ERROR | Parameter comment indentation must be 2 additional spaces at | | position 1
140 | ERROR | Parameter comment indentation must be 2 additional spaces at | | position 2
183 | ERROR | Parameter comment indentation must be 2 additional spaces at | | position 1
185 | ERROR | Missing comment for param "$form_state" at position 2
262 | ERROR | Parameter comment indentation must be 2 additional spaces at | | position 1
265 | ERROR | Parameter comment indentation must be 2 additional spaces at | | position 2
268 | ERROR | Return comment indentation must be 2 additional spaces
334 | WARNING | Empty return statement not required here
--------------------------------------------------------------------------------
Manual review
I have installed your module to me, I've created a content and I have taken a snapshot and all this correctly, but to save the contents leaves me the image by default instead of the taken snapshot.
Images correctly creates the folder site/default/file but when loading the node displays the image by default.
Comment #7
ooystein commentedThank you for your review dclavain!
The last commit had introduced a new bug in the validation function and therefor the image was not saved. This have now been fixed. Pleas try again if you wish.
Concerning the automated review I have now fixed everything that actually is an error. The 'Expected 1 space after ">"; 0 found' errors comes from a shortcoming in the automated reviewer. Is does not recognize bit shift operators.
And I can't seem to get rid of the "Parameter comment indentation must be 2 additional spaces at | | position 1" errors. I tried to indent with 2 spaces but it didn't seem to help...
Comment #8
dclavain commentedHi ooystein
I just try your module and it works fine.
You still have failures of indentation in the module file.
The comment parameter must have 2 no 9 spaces.
This is repeated in the 183, 186, 258, 261, 264 lines
Comment #9
ooystein commentedOk, thanks. I'll fix the indentation in next commit.
Don't think its critical though so returning status to needs review.
Comment #10
grandivory commentedI found no major issues in this project.
The following are all of my notes on things that should be checked/improved, but which are not critical.
Notes:
Things that should be added to README.txt and your project overview:
Comment #11
RavindraSingh commentedModule is working fine as i have tested. @ooystein did good job.
@grandivory minor issues (suggestion/improvements) are not needed currently they can be implemented on next release of the module. your all point are valid. Thanks
Comment #12
kscheirerYou have some minor issues reported at http://ventral.org/pareview/httpgitdrupalorgsandboxooystein1616836git. The points in #10 should be addressed, especially the missing requirement in the .info file.
I see you've already listed some similar modules - if the D7 version of Media Webcam isn't working would it be possible to fix this version or take over maintainership instead? It doesn't look like there have been any commits in the last year.
The Libraries API module is a recommended method for adding 3rd party dependencies without directly including the code on Drupal.org.
If that fails for whatever reason please get back to us and set this back to "needs review".
----
Top Shelf Modules - Crafted, Curated, Contributed.
Comment #13
PA robot commentedClosing due to lack of activity. Feel free to reopen if you are still working on this application (see also the project application workflow).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #13.0
PA robot commentedChange git access url. Make paragraph headings.