resize images and font