xxxxxxxxxx
<img src="/_layouts/15/userphoto.aspx?size=L&username=joao@handsonsharepoint.com"/>
xxxxxxxxxx
<img src="/_layouts/15/userphoto.aspx?size=L&username=joao@handsonsharepoint.com"/>
Size=S | 48×48 px
Size=M | 72×72 px
Size=L | 300×300 px
Username – replace it by the user email you want to retrieve the photo