NorulHidayu Binti Lazim
Posts: 0
Joined: Fri Dec 26, 2014 10:03 pm

Store image from camera

Hi
Image

this is my asset collection where consist of asset title, description and asset file. For the asset file i set it as 'file' type which the data might be image, video or audio.

I would like to know how to store image from camera into the 'file' datatype in collection. In this situation, it working but to display the image taken through the camera, it give long id in my assFile column. please help ASAP

Thank You in advance :)

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Store image from camera

Hi -

It's better to use predefined Files collection in Appery.io database for files storage.

Here is shown how to use camera images uploaded to the database: http://devcenter.appery.io/tutorials/...

NorulHidayu Binti Lazim
Posts: 0
Joined: Fri Dec 26, 2014 10:03 pm

Store image from camera

if i using predefined files collection, how to store the 'assTitle' and 'assDesc'? is there any way to upload image/ file? in my apps, user can choose either upload image through camera or through phone gallery. Can you show the step to upload any types of file into datatase with the 'assetTitle' and 'assetDesc'... please help me.. Im running out of time.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Store image from camera

Hello,

Could you please clarify, did you try the approached suggested by Illya? Also please specify, have you seen this tutorial about how to upload files to a db: http://devcenter.appery.io/tutorials/...

NorulHidayu Binti Lazim
Posts: 0
Joined: Fri Dec 26, 2014 10:03 pm

Store image from camera

it work before this. now i do not know suddenly it not working anymore. when i try to upload, it not store in the database.

how to store image select from gallery.. can u tell me the steps?

Ihor Didevych
Posts: 0
Joined: Wed Nov 19, 2014 7:55 pm

Store image from camera

Hello,

Please clarify, did you try the approached suggested by Illya and Evgene?

NorulHidayu Binti Lazim
Posts: 0
Joined: Fri Dec 26, 2014 10:03 pm

Store image from camera

yes.. i have try and it working before this.. now, when i clicked upload button, it not store in database.

Ihor Didevych
Posts: 0
Joined: Wed Nov 19, 2014 7:55 pm

Store image from camera

Please share your app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a and send us the app name.

Return to “Issues”