fix post without image plugin