updated display on trainer profiles to automatically shrink photos