NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: rjolda on September 09, 2023, 06:17:25 AM
-
Hi
Using NT 14.04 and Clarion 11.0.13639
I am using Webcam example 79. It displays the webcam image and does Take a picture and displays it in the Display image. However, in NT10 it stored the Display image name - something lile: \web\uploads\4881ffg2.png.
in 14.04 it stores the imageName as: data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAoAAAAHgCAYAAAA10dzkAAAAAXNSR0IArs4c6QAAIABJREFUeF7svemXZeV15rnvGHNEZuScyZAMyZgMQkgMEpYsa7CRbMlyq2RAgOyqaq8uu7pWfeuuqv5c/Qf06tWu1R+6293t8upy2a72IFqTJUBIjAIhSDKBnGOeI+489XqeZ+9zTgSRCAmEEriXFUTGHc55z3vOve/vPnvvZ
There is no image in the \web\uploads folder.
Seems like it is trying to store it as encoded within the Cstring field which should have the file name.
Bug?
Thanks,
Ron
-
what are the settings on your WebCam tab in the templates?
-
Hi
NT 14.04
This is webcam example 79 out of the box. I did add a blob field to the Settings dct and save image to blob as well. Did not seem to work. I undid the blob field and cleared the save to blob field. I went back and checked the code to see if there were any references to blob in the code and there were none remaining.
I am trying to trace this down and it looks like the routine - SaveFile::MAI:MailBoxPicture Routine - is NOT getting called. That is where the name of the picture file would be saved.
I have attached an image of my webcam settings. Are there others that I don't know about or did the blob trial I created gum up the code?
Thanks,
Ron
-
Bruce,
This appears to be a bug. I ran Example 70- Webcam on my laptop in NT11 and it worked correctly with a file name in the field for the file name. I upgraded it to NT 14.04 and it worked incorrectly - just as outlined above.
Ron