fix a bug link image and poste if only there's an image