Skip to:
Content
Pages
Categories
Search
Top
Bottom

Activity Stream THUMBNAIL Sized distorted


  • carmeetsroad
    Participant

    @carmeetsroad

    Hey guys!

    On current release of BP and WP…

    My thumbnails in the activity stream our now distorted.. I increased the size of the thumbnail from 100×100 to 275×275

    if ( empty( $width ) || empty( $height ) ) {
    				$width  = 275;
    				$height = 275;
    			}
    
    			$ratio      = (int) $width / (int) $height;
    			$new_height = (int) $height >= 275 ? 275 : $height;
    			$new_width  = $new_height * $ratio;
    

    I dont want my images to be distorted.. DO you guys have any tips

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

  • carmeetsroad
    Participant

    @carmeetsroad

    Hey Guys..

    Any ideas on how to make the THumbnails bigger without freaking out the scale?


    carmeetsroad
    Participant

    @carmeetsroad

    Any buddypress wizards know how I can make the thumbnail of the activity stream bigger without making it distored?


    modemlooper
    Moderator

    @modemlooper

    In the buddypress/bp-templates/bp-legacy/buddypress/activity/entry.php file add the argument to bp_activity_avatar

    <?php bp_activity_avatar( 'type=full&width=275&height=275'); ?>

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Activity Stream THUMBNAIL Sized distorted’ is closed to new replies.
Skip to toolbar