Close
Picture of DnnBro PhotoCapture

DnnBro PhotoCapture

posted by DnnBro - 01/23/2022
$0.00
$199.99
DnnBro PhotoCapture
logo
Allow the user to capture a photo and store it in the DotNetNuke user profile - or use the module to capture photos in a session variable to be used for display elsewhere in the site or in a different module requiring a photo of the user. Storing it in a database table for later use is also an option, perhaps for use in other systems.

The module supports both mouse and touch controls – and if the user have both options available it is possible to switch between the two. If the user have several cameras installed a switch button is shown allowing the user to switch between cameras.

A fullscreen option is available, giving the user the ability to use the entire screen when capturing and editing the photo.

Most of the settings can be disabled from the settings menu – if you do not want to provide the user with the full set of features.

Please be advised that this module will only work in a secure enviroment, e.g. your site needs to be protected by an SSL certificate and use https!

Try out the demos at dnnbro.com or install the fully functional trial before purchase to ensure the module will in your environment.

The module comes with two standard skins - the DnnBro blue skin and a grey skin. If the module should adapt to your specific color scheme a custom skin can be chosen - and you can define the colors of the module (see guide for details).

The examples shown below just stores the photo in the session and displays it to the user on another page - but it could be used for anything - the sky is the limit ;-)

For more details and documentation please refer to dnnbro.com
 

logo The trial is fully functional for 14 days after activation. If a standard license is purchased and added to your DNN installation there is no need for reconfiguration or reinstall - the code base is the same.

A license is for a DNN implementation - you are not restricted to a particular server. That means your licence will remain valid as you deploy your DNN instance to Production, Staging and Development environments which makes it easy for you to maintain your site. This only applies to cloned environments though, a new installation will require a new license.
 

 

Requirements
HTTPS/SSL Required
Please be advised that this module will only work in a secure enviroment, e.g. your site needs to be protected by an SSL certificate and use https!

This is because the WebRTC API is used for communication with the camera and most modern browsers require a secure connection. Internet Explorer on PC is not supported according the the browser compatibility scheme at mozilla.org.

 

 

Features
Capture photo Capture a photo of the user by utilizing a camera in the users device. This could be a mobile phone, a tablet, a laptop or a standard computer with a USB webcamera.
Edit photo A simple editor allows the user to center and zoom the photo before accepting and storing it. The editor supports both mouse and touch, if available on current device. If both mouse and touch hardware options are identified the user can switch between them. The touch functions include pinch-zoom and double finger move for quick editing.
Skins The module comes with two standard skins - the DnnBro blue skin and a grey skin. If the module should adapt to your specific color scheme a custom skin can be chosen - and you can define the colors of the module (see guide for details).
Modes The module can be used in two different modes - capure photo of the user or display photo from session, database or userprofile.
Multiple storage types You determine where to store the captured photo. It can be stored in the session e.g. for use elsewhere in the site during the same session – or perhaps by a different module.
Specify the name of the session variable to store the photo in. This can be relevant if the photo is to be used in another module that requires a specific variable name.

The captured photo can be saved to the current users DNN profile, which will require the user to be logged in.

The captured photo can be saved to a table in the database for later use – and there is an option to allow multiple photos to be stored for each user if desired. Only the latest will be shown by the view option though.
To enable this the Require UserId option must be checked. This can also be used to ensure that a UserId is present when storing the photo in the database, as a safeguard in case the module is added to a page that is open for everyone.
If only a single photo should be stored for each user in the database just untick the Allow multiple photos per user option.
Header Define your own header which is shown when capturing the photo.
Image format type You decide which image format type the photo should be stored in. It will be converted on the fly when the user saves the photo after editing. Supported options are:
  • BMP
  • JPG
  • GIF
  • TIFF
  • PNG
Image format You decide which image format should be used. If the camera does not support the format the captured image will be cropped to support the chosen format before the captured photo is shown for editing by the user. Supported options are:
  • Square
  • 4x3
  • 16x9
  • 21x9
Photo Size Input the desired width of the stored photo - the height will be calculated automatically based on the chosen image format.

The photo is scaled to the desired size after editing, so the capture and edit window can be bigger than the resulting size.
Fullscreen option Enable this to allow the user to go in fullscreen mode when capturing and editing the photo.
Switch camera option Enable this to allow the user to switch between all installed cameras if more than one is available. If only one camera is available the button will not be shown.
Touch functions option Enable this to allow mobile devices to use touch functions for zoom and move when editing the photo (pinch-zoom and double finger move). When this is enabled the slider for zoom will not be visible.
Touch override option Enable this to show a switch-to-mouse button when in touch mode, to allow devices with both touch and a mouse to switch between each mode. If Touch functions are disabled this will automatically be disabled as well.
JS Console debug option Enable this to show javascript debug.console output directly on screen. This can be very useful when trying to figure out why mobile devices work in mysterious ways and the F12 window is hard to activate.
Disable options in web.config If needed some of the available StorageTypes can be disabled. This could be a relevant scenario in a multisite environment where the database storage type is not desired – or if the individual site users are not allowed to use the built-in SQL connection.

To adjust which storage types are available the web.config file must be altered manually.
Integration The module integrates with the DnnBro BrainBreak module, allowing the user to solve a puzzle based on a captured photo from this module.

 

 

Blue Skin - Capture Photo
Blue Skin Capture

 

 

Blue Skin - Edit Photo
Blue Skin Edit

 

 

Gray Skin - Capture Photo
Gray Skin Capture

 

 

Gray Skin - Edit Photo
Gray Skin Edit

 

 

Capture Settings
Capture Settings

 

 

View Settings
View Settings