diaspora/diaspora — pull request #2589 by stwf (2012-01-05 22:44:47+00:00)
Title: Thumbnail resize bug

Under some installations uploaded images weren't being processed correctly.

This separates uploaded photos into 2 different, a tmp_photos directory that can be cleaned out periodically and a user_images folder where fina version go after they are processed.
It also makes sure that the profile thumbnail uses the correctly sized photo.