Forum Discussion
TedC
10 years agoLithium Alumni (Retired)
I spoke with some of the developers regarding creating a simple HTML form that leverages the API for attachments and this is one that ChristopherB showed me for image uploads:
<form enctype="multipart/form-data" class="lia-form lia-form-horizontal" action="https://community.com/restapi/vc/messages/id/109/edit" method="post" id="form_1" name="form_1">                 <label for="lia-image-content">Image</label>         <input id="lia-image-content" name="message.upload" type="file" />         <input title="" value="Upload Image" id="action.upload-image.button" name="action.upload-image" type="submit" /> </form>
- mor_et10 years agoMentorIssue was solved locally.
Thanks!
Related Content
- 12 years ago
- 13 years ago
- 8 years ago