Usually if I sold my iPhone it's due to receiving a new one. I do a backup and then transfer the data including pictures to the new phone then wipe the old one.
My 1st one is being used as ipod in my wife's car. 3g & 3gs are used for travel out of country. Sold the 4 to purchase ipad mini cor my son. Sold both 4s and got ourselves the 5.