Webcam.js integration with yii2


(dave9831) #1

Hi i am using http://codingbin.com/capture-webcam-image-with-php-and-jquery/
in view
Selfie




<?= $form->field($model, 'img_selfie')->hiddenInput(['value'=>'','id'=>'imagedata','class'=>'step3'])?>

java script

I lost to save the value in the hidden form, i used to form->field()->fileInput. And this is a new thing for me to use the base64 data_uri into jpeg. Thank you