added check for empty urls in image extraction, closes #85