User/Group avatar URL *without* IMG tag
-
How can I retrieve the URL to a user or group’s avatar/gravatar *without* the `IMG` HTML tag? For our site layout we’re looking to use the avatar as a background image of a DIV – so we need just the URL, none of the `IMG` stuff. For instance, I’m using the `bp_group_avatar` function to return an `IMG` tag and using a regex to match the `SRC` attribute – but this is ugly and hackish. Is there a better way?
Using Buddypress 1.2.4.1
**Edit**
Looking at the `bp_core_fetch_avatar` – I’m seeing hard-coded `IMG` tag – so I’m thinking no, this isn’t possible
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘User/Group avatar URL *without* IMG tag’ is closed to new replies.