Hello, could someone tell me how to do to copy a picture to my server because I can not find the solution how.
The problem is when I get the picture using FileBox, In IE gives me the right direction C: \ Photo \ Image1.jpg but CHROME and Maxthon C: \ fakepath \ Image1.jpg
I have not tried it in Firefox.
But I would like to do it from any browser.
<td valign="baseline" style="padding:10px" >
<label style="vertical-align:Top" >Foto:</label>
<img id="DP_Foto" name="DP_Foto" style="width:150px; height:150px "/>
<div class="fitem">
<input id="fb" name="DP_fb" class="easyui-filebox" style="width:200px" data-options="prompt:'Ingrese Foto...',
onChange: function(value){
var f = $(this).next().find('input[type=file]')[0];
if (f.files && f.files[0]){
var reader = new FileReader();
reader.onload = function(e){
$('#DP_Foto').attr('src', e.target.result);
console.log(e.target.result);
}
reader.readAsDataURL(f.files[0]);
}
}
">
</div>
</td>
greetings and thanks