Added the getImage method