I have a multi-site install with buddypress on the main site. In the buddypress theme I've been able to override the default 'mystery-man' avatar using my custom buddypress theme. I simply have an images folder containing a replacement 'mystery-man.jpg' avatar.
However, for the other wordpress sites on the network this technique doesn't work. I've looked into the solutions proposed here:
But these answers don't seem to work with buddypress enabled on the main site. It seems buddypress somehow interferes with the way the non-buddypress sites get their avatars, because the html returned looks like this:
<img src="http://www.gravatar.com/avatar/ba60ca5beed202054f393b040bfd7ac3?d=http://subsite.example.com/wp-content/plugins/buddypress/bp-core/images/mystery-man.jpg&s=50&r=G" alt="Avatar Image" class="avatar user-16-avatar" width="50" height="50">
...regardless of the functions and filters I've applied from the previous solution.
Is there a way to get it to look to see if the subsites theme has an 'images/mystery-man.jpg' and use that before using the buddypress default?
Following feedback I realise 'BuddyPress' is network enabled on my site, which interferes with the normal solution. I've tried enabling this on just the main site, but this crashes all the subsites. I think this might be because I've attempted to add BuddyPress activity comments to the replies in the subsite blogs, so I actually WANT the subsites to know Buddypress is active.