Ankur Wadhawan
Posts: 0
Joined: Thu Jan 30, 2014 11:54 pm

Profile Image Upload to external database

Hi
In my application I am giving the option to the user to select a profile image.. I am able to make a camera service which brings the image from the gallery. As mentioned in the following example:
http://docs.appery.io/tutorials/using...

I was wondering about the next step. That is, How can I upload the image (file transfer) to an external directory and database, that happens when the user presses the update profile button.

your example shows uploading to Appery database, can you help on how one can do so to an external database and directory. I am using ajax post to submit the rest of the form.

thx.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Profile Image Upload to external database

Hi Ankur,

In section "Binding the camera service" of this tutorial, paragraph 5, you can save a photo in a variable instead of mapping to Image. Then send this variable to your server using another service.

Ankur Wadhawan
Posts: 0
Joined: Thu Jan 30, 2014 11:54 pm

Profile Image Upload to external database

can it only be send via a service.. or one could use jquery ajax ..?

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Profile Image Upload to external database

You can use anything from jQuery Mobile.

Return to “Issues”