Image scraper function working