initial setup and refactor to use imagesize module to avoid having to download full file to get image dimensions. Also will eliminate the need for downloaded images to take up disc space
now getting dimensions for all images on sites and coming in much faster as I am not having to fully download the files anymore
protected against an 'undefined' value being returned as in href variable from the scraping. Also captured headers from the image http resonse to add the bytecount for later use.