Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to Add Member Images to Display on Profile Page

  • I’ve installed BP-Album on my BBPress installation. I want to be able to display an entire users photos at the bottom of a member’s profile page so it all displays on the same place. How do I do this?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Avatar of foxly
    foxly
    Participant

    @foxly

    @T3Kaos

    Please post a wireframe of how you’d like the page to be laid out.

    ^F^

    Please visit http://uknexttopmodel.com/Untitled-1.jpg

    I would like all of the users pictures to appear below the users personal information and should be selectable. If you have any better suggestions it would be awesome!

    Thanks

    Anyone here……

    Please visit http://uknexttopmodel.com/Untitled-1.jpg

    I would like all of the users pictures to appear below the users personal information and should be selectable. If you have any better suggestions it would be awesome!

    Thanks

    Avatar of foxly
    foxly
    Participant

    @foxly

    @T3Kaos

    I can’t give you a precise solution, because I don’t have the source code to the template you’re using. However, paste the following source code inside the template where you’d like the pictures to show up:

    Then, inside the file `bp-album/includes/templates/album/all-images.php`

    Modify the control block as follows:

    `$args=$bp->displayed_user->id;
    $args=24;
    $args=’DESC’;
    $args=’id’; // Can also use ‘random’ to shuffle images, but will make site much slower
    $images_per_row = 5;`

    This should result in the desired output.

    For more information see: Using The Global Media Page

    For a preview of what’s coming in 0.1.9 see: Using The Featured Content Loops

    Thanks!

    ^F^

    Brilliant exactly what I needed. Donate coming your way (today). Two questions:

    1) Is there an easy way to check the number of photos a user has?
    2) How can I gell in the displayed photos (on a users profile page) code to something like jquery/lightbox

    Thanks! Jas

    Avatar of loufernando
    loufernando
    Participant

    @loufernando

    Hi, I’m trying to implement this on my clients site. However, there is code missing in foxly’s post. I’m hoping foxly can reply with the missing code?

    Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.