error checking image urls