Page 1 of 1

Uploading Image Files

Posted: Sun Mar 09, 2014 8:29 pm
by Jason Carmen

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


Uploading Image Files

Posted: Sun Mar 09, 2014 8:58 pm
by Igor

Hello,

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


Uploading Image Files

Posted: Sun Mar 09, 2014 9:03 pm
by Jason Carmen

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.


Uploading Image Files

Posted: Sun Mar 09, 2014 9:14 pm
by Jason Carmen

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


Uploading Image Files

Posted: Wed Mar 12, 2014 11:35 am
by Maryna Brodina

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


Uploading Image Files

Posted: Wed Mar 12, 2014 11:59 am
by Jason Carmen

Thanks