I noticed that changing the wordpress permalinks adds .htpasswd and .htaccess into the wp-content/uploads/avatars folder. Deleted these files and the images re appeared.
issue: links to pages changed sitename to ‘named’ URL and, but links for buddypress data, eg users remains as numbers, 192.xxx.x.xxx URL, so not changed.
Looking further, on the settings > general page the fields have been greyed out, but only the Site Address (URL) has registered the change, the WordPress Address (URL) remains as the numbered IP and is not changed.
It looks like the issue is that the ‘define’ code in wp-config needs to change the WordPress Address (URL), but has not.