Hi,
How do you name the picture the taken before upload to the web server?
Thanks
Hi,
How do you name the picture the taken before upload to the web server?
Thanks
Hello Ade,
There is no name associated to the captured image, then you can simply choose whatever name you wanted, in the client side or in the server side.
Hello Ade,There is no name associated to the captured image, then you can simply choose whatever name you wanted, in the client side or in the server side.
Hi David,
I have choose name from the server side e.g
$imgFileName = 'upload_images/'. date('Y-m-d-H:i:s') .'.jpg';
But I am not sure how to get it on the client side at the moment.
Hello Ade,
If I am not wrong we can't get it at the client side. We are not choosing an image (with the File input control, for example) but captured a new one. What the Camera control offers to us is the Base64 representation of the captured image and nothing more, then the name of that capture is up to us and we can assign any name. If you want to establish it in the client side, just prepare your own one and send it to the server in addition to the Base64 text.
Hello Ade,If I am not wrong we can't get it at the client side. We are not choosing an image (with the File input control, for example) but captured a new one. What the Camera control offers to us is the Base64 representation of the captured image and nothing more, then the name of that capture is up to us and we can assign any name. If you want to establish it in the client side, just prepare your own one and send it to the server in addition to the Base64 text.
Alright, that is what I will do.
Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.
This website uses some useful cookies to store your preferences.