Related resources for image in Web page with TypeScript