Sometimes our code may be more easy and clean if we could be sure that all profile images are squares.
We must to add a image cutter after the picture upload to adapt any picture to our needs, like a lot of other sites does.
The current pictures must be migrated to this new rule, but we can't cut automatically. The better solution is to convert all to PNG and add this centralized into a transparent square. To the most of then the size will grow a little, but will work properly.
We may consider to cut automatically all that are near to a square, what will lose a little of the picture, but can still as jpg.
- 22 Feb 2011