Related resources for PDF and Images upload into CouchDB