Resizing of the pictures