We will use the couchdb button to add attachment to a couchdb document. In order to access the couchdb button, you need to login first.

Warning: this only works on Chrome for now.

 

- Click the couchDB header button

- Select the view you want to add attachments to

- Click the green 'Upload' button

- Drag and drop files/folders

- Click the 'Upload' button

 

Now that you have added attachments, you can manipulate them using the couchdb attachment api. An example of how to use it is shown in the script of this page.

 

To know more about the couchdb attachment api, see the documentation here