|Subject:||Faked path - Smartphone.|
|Posted by:||Mr. X (firstname.lastname@example.org)|
|Date:||Tue, 22 Jan 2013|
When I do something like this:
<input type="file" accept="image/*" capture ></input>
I can attach a picture or camera on smartphones.
This all fine,
but what if I want to show the picture to the user who choose it.
I created for that a <div> element and try to set the background-image to
the file (which is on local computer or on local smarphone) -
Then I got the path of :
How can I solve the problem?
The fake path - I cannot use as reference, and I don't know if I get instead
of the path the image source in bits (so I can do something like
data:image/png;base64,... a binary data ....)