userimage scales images

Instead of wasting bandwidth serving large image files which will be
software scaled on the client machine for profiles, the images are
scaled by the CGI script that serves them. This wastes our server's CPU
time, but the saved bandwidth is probably more valuable.