Added condition in image post and added blank to image field