resize images and add some stlyes