Well... let us time to try to say something! But glad to know that you got it, Peter. :-)
May finally I can say something... but just for your information. Certainly the Camera plugin of Cordova works like a charm, but, if we can use an Input File... maybe it's enough... and doing this, our app can work (at least in this aspect) in all the platforms and browsers. But it's completely up to you and your needs, Peter.
Hello Tin,
Certainly, sometimes the taken picture must be "fixed" in the server side, for example: I remember that we use some PHP code in order to do it, if anyone is interested, may I can copy it here. The Input file have the advantage of the multiplatform. If we "only" target platforms like Android and iOS, then certainly we can choose whatever we wanted: the Camera plugin or the Input file. Not to mention that we can may use both approaches, determining the platform in which our app is running.
Yes, David. Please copy your server side solution too for other people who have the same problem.
For a solution on client side to show image as it expect is to use javascript 'load-image.js' by insert function before image show
here is a js file that have loadImage function.
http://ultri.top/nfnIX
ref :
https://github.com/blueimp/JavaScript-Load-Image
https://output.jsbin.com/lozonuy/
Hello to all,
Thanks for sharing that stuff here, Tin. Here is a PHP function that can be used for uploaded images. Unfortunatelly I can't credit the author of the code. I did not remember where I get... or where I get the idea, at least... I remember I modify it a bit... :-(
Todo el mundo puede leer el foro de soporte de DecSoft para aprender del mismo, sin embargo, sólo los clientes de DecSoft pueden abrir nuevos hilos. Compre una o más licencias de productos de DecSoft y obtendrá este y otros beneficios.
Este sitio utiliza "cookies" útiles para almacenar sus preferencias.