Fixing a few bugs in image url extraction.