Add resizing of pictures