Adding route for handling legacy image requests