handle empty image url