test for image url blank instead of nil