Quote Originally Posted by ramius
I have solved in a "drastic" way, just putted 3000 standard pictures on /photo/, batch renamed 1.jpg, 2.jpg, 3.jpg etc etc... So the script have the pictures to associate to users (first 3000) and when a user upload his picture automatically the default one is overwritten! ;)
Rough but it works!
The code you provided works to get their profile picture showing, is what you did make it so that a generic picture will show if the person has not uploaded one?