I am using php to save image ($img) from image URLs ($imgURL) using
file_put_contents($img, file_get_contents($imgURL));
The $imgURL links are extracted from the user submitted URL ($webURL). This is working fine. However, sites may have many URLs for images. How do I extract the image of the logo file used in the site ($webURL)? In another words, how do find out which $imgURL contains the logo image?