add images for minify and fix  middle problem