resizing original pictures