I've been making the create account and edit profile page for a kony app. The information of the created server is stored on a server.
My problem is, the profile picture that is captured by the phone or imported from the gallery is much bigger than it has to be. Is there a way to reduce the image size so that it's not such a heavy load to upload on creating an account?
Kony uses javascript as it's code behind so if there is a way using javascript I would really appreciate that.
I currently have the image available in rawbytes and then I convert it to base64 so that it can be stored on the database. So I need to reduce its size somehow to make the account creation and update process run more smoothly. Possibly may need to store it in some other format.