add margin to avatar
use time instead of mktime