I used the Vanilla js and Bootstrap modal to edit the picture. everything is fine when I upload images from my desktop or phone. but my client shows me that when he directly captures photos from his phone instead of uploading from the gallery, its resolution Getting higher. and on save it is getting crashed.
it is not happening for every phone like in my phone it is working perfectly.
I used the Vanilla js and Bootstrap modal to edit the picture. everything is fine when I upload images from my desktop or phone. but my client shows me that when he directly captures photos from his phone instead of uploading from the gallery, its resolution Getting higher. and on save it is getting crashed.
it is not happening for every phone like in my phone it is working perfectly.