A.W.H.
Posts: 0
Joined: Sat Jun 20, 2015 7:02 am

When using an input component for an image, how do I get the image file/value?

When using an input component for an image, how do I get the image file/value?

I have a user upload an image through an input component for image upload...how do I get this image in javascript and set the value of an image component to this value?

In other words...one they upload a picture how do I display it? Thanks

A.W.H.
Posts: 0
Joined: Sat Jun 20, 2015 7:02 am

When using an input component for an image, how do I get the image file/value?

Uncaught TypeError: Cannot read property 'files' of null

A.W.H.
Posts: 0
Joined: Sat Jun 20, 2015 7:02 am

When using an input component for an image, how do I get the image file/value?

I'm not able to access files held by the input component on page...

A.W.H.
Posts: 0
Joined: Sat Jun 20, 2015 7:02 am

When using an input component for an image, how do I get the image file/value?

I can print the .img or .src but when I load that string into the local storage, and set the image from the local storage variable, it doesn't work.

A.W.H.
Posts: 0
Joined: Sat Jun 20, 2015 7:02 am

When using an input component for an image, how do I get the image file/value?

https://devcenter.appery.io/tutorials...

Tried this and didn't work...the mapping doesn't store my file into the database.

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

When using an input component for an image, how do I get the image file/value?

Show us what you have tried and what is not working in your implementation.

A.W.H.
Posts: 0
Joined: Sat Jun 20, 2015 7:02 am

When using an input component for an image, how do I get the image file/value?

https://devcenter.appery.io/tutorials...

Hello. This does not work. I've followed the instructions line for line but alas I'm not actually uploading any data.

Image

http://appery.io/app/view/3cb3af29-28... Image Image

App: http://appery.io/app/view/3cb3af29-28...
Goal: save and print to canvas multiple images.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

When using an input component for an image, how do I get the image file/value?

Hello,

I get error: 401 Unauthorized
Where is login service? You have to login to the app before file uploading.

Return to “Issues”