D. Class Photo_resize