resize and rename of self photo