Webserver: -fixe: photo quality is bad (using phonegap)
This commit is contained in:
1 parent
8c7fdc050f
commit
57770da524
1 file changed
+5
-3
@@ -14,7 +14,7 @@ if (document.location.protocol == "file:") {
|
||||
}
|
||||
window.deviceAndJqmLoaded.done(function () {
|
||||
start();
|
||||
})
|
||||
});
|
||||
} else {
|
||||
$(document).ready(function () {
|
||||
start();
|
||||
@@ -185,7 +185,8 @@ function initPageLoadHandler() {
|
||||
destinationType: navigator.camera.DestinationType.DATA_URL,
|
||||
allowEdit: true,
|
||||
correctOrientation: true,
|
||||
saveToPhotoAlbum: true
|
||||
saveToPhotoAlbum: true,
|
||||
quality: 50
|
||||
});
|
||||
|
||||
} else {
|
||||
@@ -817,7 +818,8 @@ function initMainPageHandler() {
|
||||
destinationType: navigator.camera.DestinationType.DATA_URL,
|
||||
allowEdit: true,
|
||||
correctOrientation: true,
|
||||
saveToPhotoAlbum: true
|
||||
saveToPhotoAlbum: true,
|
||||
quality: 100
|
||||
});
|
||||
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user