resize images and add favicon