resize image will show after start up