add xib and image.