{"_id":"5536daf0a519b10d001f7df8","__v":1,"project":"55357364e02d480d0003c6d3","version":{"_id":"553591cd63cc650d00312925","project":"55357364e02d480d0003c6d3","__v":13,"forked_from":"55357365e02d480d0003c6d6","createdAt":"2015-04-20T23:54:53.134Z","releaseDate":"2015-04-20T23:54:53.134Z","categories":["553591cd63cc650d00312926","553591cd63cc650d00312927","5536e4d39f7f2d0d00b1cd54","5536e55c20d5ca0d0001580a","5536e6bf7fe60f0d000fd1c0","5536f5bba171250d00c00556","553a974369c2630d00a8562e","553a97c60074c80d00621c2a","553a98332af5f20d000fc32a","553a9b9869c2630d00a85642","556e0f23d02e0b190042f13d","563249b1dcc27a1700823650","5639113f049e420d00476b03","59a5dd94aaa11d003334edb4"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2"},"category":{"_id":"553591cd63cc650d00312927","pages":["553591ce63cc650d00312928","553594c963cc650d00312931","5535985e63cc650d00312936","55365baa86514f0d00bc2f96","5536daf0a519b10d001f7df8","5536db65c16ee70d007568a8","5536dc26c16ee70d007568ac","5536de1453b6430d0042dfeb","5536e535bbb4a70d00a53529","553ab2a336d0100d004b35b1","554172c94841af0d00b4234f"],"version":"553591cd63cc650d00312925","__v":11,"project":"55357364e02d480d0003c6d3","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-04-20T23:52:42.707Z","from_sync":false,"order":1,"slug":"formz","title":"Formz"},"user":"55356ede6040a20d00454508","parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-04-21T23:19:12.442Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"auth":"required","params":[],"url":""},"isReference":false,"order":8,"body":"External resources such as images or PDFs need to be processed separately from the JSON or XML request body.  In order to include an image on a form (either during creation or updating after the fact), the following actions need to be performed.\n\n- Upload the image using the Files endpoint.  See [Uploading a file](doc:uploading-a-file)  for more details.\n- After the image has being uploaded, obtain the Id of the file.\n- Include the Id as the value of the `id` property on the image field when creating a new form or updating an existing form.","excerpt":"","slug":"attach-images-to-a-form","type":"basic","title":"Attach Images to a Form"}

Attach Images to a Form


External resources such as images or PDFs need to be processed separately from the JSON or XML request body. In order to include an image on a form (either during creation or updating after the fact), the following actions need to be performed. - Upload the image using the Files endpoint. See [Uploading a file](doc:uploading-a-file) for more details. - After the image has being uploaded, obtain the Id of the file. - Include the Id as the value of the `id` property on the image field when creating a new form or updating an existing form.