Jason Carmen
Posts: 0
Joined: Wed Mar 05, 2014 1:51 pm

Uploading Image Files

I was trying to use the tutorial here:
http://docs.appery.io/tutorials/uploa...

But after completing the tutorial I realized that it did't work for Image files.

So then I found this:
https://getsatisfaction.com/apperyio/...

And that seemed a bit involved just to get what you have demonstrated in your tutorial to work. Is there no way to upload image files the way you do in your tutorial?

I can take screen shots of everything I did if that helps you get a feel for my level of competency. I think that an upload file control would be a good addition to your tool set. Anyway if you could help me figure out how to get the image file that gets uploaded to actually render after its uploaded. Also I noticed in your tutorial there is a fileurl variable in the response but there is no field in the fileDB that represents that value:
Image

also when trying to open the file it does save to the db it says this in windows preview viewer :

Image

becuase it was posted as the proper content type. Anyway any help would be greatly appreciated.

thanks.

-Jason

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Uploading Image Files

Hello,

Lets as know if this tutorial will help http://docs.appery.io/tutorials/using...

Jason Carmen
Posts: 0
Joined: Wed Mar 05, 2014 1:51 pm

Uploading Image Files

Sorry Igor what I wanted was for a user to be able to upload an image of thier choice and then save that image. Then once uploaded retrive its location url so that I can set it to an asset on another screen.

Jason Carmen
Posts: 0
Joined: Wed Mar 05, 2014 1:51 pm

Uploading Image Files

I ask only that you try and create a project where in you can upload an image file save it to the aperry.io db and then download the file you saved and see if you can open the file and see the image you expect.

That is the problem I am having.

thanks,

-Jason

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Uploading Image Files

Hello! Using current tutorial you can upload text files only (we'll update tutorial). Please follow this post https://getsatisfaction.com/apperyio/...

Jason Carmen
Posts: 0
Joined: Wed Mar 05, 2014 1:51 pm

Uploading Image Files

Thanks

Return to “Issues”