NetTalk Central

Author Topic: Webcam picture name field incorrect in NT 14.04  (Read 963 times)

rjolda

  • Sr. Member
  • ****
  • Posts: 274
    • View Profile
    • Email
Webcam picture name field incorrect in NT 14.04
« 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

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11183
    • View Profile
Re: Webcam picture name field incorrect in NT 14.04
« Reply #1 on: September 10, 2023, 03:44:36 AM »
what are the settings on your WebCam tab in the templates?

rjolda

  • Sr. Member
  • ****
  • Posts: 274
    • View Profile
    • Email
Re: Webcam picture name field incorrect in NT 14.04
« Reply #2 on: September 10, 2023, 07:39:56 AM »
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

rjolda

  • Sr. Member
  • ****
  • Posts: 274
    • View Profile
    • Email
Re: Webcam picture name field incorrect in NT 14.04
« Reply #3 on: September 11, 2023, 11:44:37 AM »
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