add missing image when no image is uploaded in attrubute