[IMP] resize upload photo image