reduce photo upload size

reduce photo upload size