Loading and saving image

<< Click to Display Table of Contents >>

Navigation:  Forum >

Loading and saving image

Forum link

 


 

11-12-2020, 11:55 PM:

 

I am very new to IntraWeb and web development for that matter.  I am trying to allow a user to take a pic from their phone and save it to a database through a browser.

 

I have figured out how to allow the user to take a pic and display it through the TemplateProcessorHTML and javscript.  However, I am not sure how to get the loaded image from there, to a point where I can save it.

 

I figured there has to be an IW component I can use for this, but I do not know where to start.  I have other forms that I have text fields saving just fine, but I am not using the TemplateProcessor for them. 

 

Any help would be appreciated.

 


 

11-13-2020, 02:58 AM:

 

Hi, see this demo: https://github.com/Atozed/IntraWeb/tree/...UploaderDB

 


 

11-13-2020, 04:29 PM:

 

Well that was easier than I thought.

 

I didn't know the FileUploader would give access to the camera on a mobile device. I can get rid of the whole TemplateProcessorHTML now.

 

Thanks!