added image resizing method