set width and height for user photo