fixed image uploading, and display inheader