Avatar is working properly but the standard user image/avatar is not replaced

The Avatar feature is custom built in UAP, and it only works inside the system. It is not meant to replace the standard Profile image or Gravatar which are displayed on other pages.