implementing image service to node.js system