web: adapt user's photo