profile photo resizing added to html