Generic thumbnail method, which is now being used by profile icons.