Adding a gallery to my Buddypress theme

I have buddyPress set up on my theme and wanted to be able to have my BP members to be able to add photos to a gallery tab featuring their work. How do I do that? Can they also add them in diffrent categories? I want them to be able to search diffrent work and be able to click on a photo and be able to go back to the member who submitted it. Thanks for your insite.