resize dorian's photo