Ready to get started?Download WordPress


BuddyPress Activity Plus
Add page header image to link activity (1 post)

  1. Yuttadhammo
    Posted 3 years ago #

    Facebook is able to add image thumbnails for a page that are included in the header in this form:

    To add this functionality to buddypress-activity-plus, just add these lines to lib/class_bpfb_binder.php:

    $hlinks = $html->find('link');
                            foreach ($hlinks as $hl) {
                                    if ($hl->rel == "image_src")
                                            $images[] = $hl->href;

    after line 150:

    if ($str) {


Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 3 years ago by Yuttadhammo
  • This topic is not a support question
  • WordPress version: 3.1.4