resize upload pictures for better transferring performance
delete big size pictures