Add GetImage method on index.js file