For something like an avatar, where user gets assigned a default one
if none is uploaded, you are better off handling that at display time
rather than create time.
When you read the database record you can do something like:
mypic = record.picture or something_else
Would that work for you?
--
Branko Vukelić
bg.b...@gmail.com
stu...@brankovukelic.com
Check out my blog: http://www.brankovukelic.com/
Check out my portfolio: http://www.flickr.com/photos/foxbunny/
Registered Linux user #438078 (http://counter.li.org/)
I hang out on identi.ca: http://identi.ca/foxbunny
Gimp Brushmakers Guild
http://bit.ly/gbg-group