|
|
@ -158,5 +158,6 @@ function imageCompress(imgurl,fileid) { |
|
|
|
let ff = f; |
|
|
|
let ff = f; |
|
|
|
let newpath = "/storage/emulated/0/Android/data/com.example.hikerview/files/Documents/_cache/"+(fileid||"")+"_"+getName(imgurl); |
|
|
|
let newpath = "/storage/emulated/0/Android/data/com.example.hikerview/files/Documents/_cache/"+(fileid||"")+"_"+getName(imgurl); |
|
|
|
compress(f,3,newpath);
|
|
|
|
compress(f,3,newpath);
|
|
|
|
|
|
|
|
log(getPicInfo(ff)); |
|
|
|
return "file://"+newpath;
|
|
|
|
return "file://"+newpath;
|
|
|
|
} |
|
|
|
} |
|
|
|