Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Changing the way group avatars are fetched


Aditya Singh
Participant

@stuffsone

oopsss…now a different issue…
@r-a-y
I made changes in bp-core-avatars to fetch avatars from uploads/group-avatars/[group-id] folder
Removed the height property so that the images will be fetched and displayed as per their width and the height will be adjusted accordingly….the problem is that this is working fine for some groups, and not working at all for some others….
the ones where it is working, the path of the image (when u see copy image url) — /uploads/group-avatars/[group-id]/[group-id].jpg

the ones where it is not working, the path stops at —> /uploads/group-avatars/[group-id]

Here is the code to the modified br-core-avatars.php I am using….
http://pastebin.com/jvDuH362

Skip to toolbar