Fix avatars in the network graph for relative-url setups.
Merge pull request #6720 from thmo/6-7-stable

Fix avatars in the network graph for relative-url setups.