Nalini
Posts: 0
Joined: Tue Jan 14, 2014 2:49 pm

saving drop down and image data in the same form to a collection

Please, I have already read the documentation. I am not a novice and please can you respond today?

Is there something weird about creating a form which sends text input, drop down input and photo to a collection? My collection seem to work without the photo but stops working with the photo. Photo works well being mapped to buffer and image preview but doesn't seem to work with the 'create service' Image Image

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

saving drop down and image data in the same form to a collection

Hi,

Is it a service to create file, or do you save an image in a base64 string?

Nalini
Posts: 0
Joined: Tue Jan 14, 2014 2:49 pm

saving drop down and image data in the same form to a collection

the upload image button actually saves the image in base64 string...sends to preview image and local storage variable imagebuffer i think it's called. Image

Nalini
Posts: 0
Joined: Tue Jan 14, 2014 2:49 pm

saving drop down and image data in the same form to a collection

I pretty much already did this. What you haven't answered is whether the photos have to be in their own collection or if I can have other variables in the collection. Your support is incredibly frustrating!!!!!

Nalini
Posts: 0
Joined: Tue Jan 14, 2014 2:49 pm

saving drop down and image data in the same form to a collection

I get this error in the console, any ideas what this means?

Failed to load resource: the server responded with a status of 400 (Bad Request) https://api.appery.io/rest/1/db/colle...
Image

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

saving drop down and image data in the same form to a collection

Hello,

Could you please look in the console on tab Network what is sent by the service and what comes back as reply?
And a little advise if you let me: it is not the best idea to keep images in the data collection. You should keep them in the Files collection, and in data collection keep image name

Return to “Issues”