Unable to find images based on url in React