Fix photo import and rendering on profiles and leaders page