updated image client to allow for null values exception avoidance