Skip to:
Content
Pages
Categories
Search
Top
Bottom

Remove images from Activity Stream

  • Profile photo of demilio
    demilio
    Participant

    @demilio

    Hi, does anyone know how to remoce the post images from activity stream?

    When I say images I dont mean the userimage but the post image. In BP 1.2. the activity stream includes an image from the userblog with the title and the excerpt but this does not look good I’m afraid, so therefor I want to deactivate this untill a future cosmetic fix for this.

    Any hacks for this?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Profile photo of geoffm33
    geoffm33
    Participant

    @geoffm33

    FWIW, I created a ticket in Trac to bring attention to the image issue:

    https://trac.buddypress.org/ticket/2022

    Profile photo of demilio
    demilio
    Participant

    @demilio

    the size is one thing but i also need to remove the images. anyone now what file i can edit this function in?

    Profile photo of r-a-y
    r-a-y
    Moderator

    @r-a-y

    Apply a filter to bp_activity_thumbnail_content_images.

    The simplest way would be to hide the image via CSS.

    Profile photo of demilio
    demilio
    Participant

    @demilio

    where do i fint this line??

    Profile photo of r-a-y
    r-a-y
    Moderator

    @r-a-y

    Since filters require some knowledge with WordPress, I’d recommend the CSS route.

    Put this in your stylesheet:

    .activity-list .activity-content img.thumbnail {display:none;}

    Profile photo of demilio
    demilio
    Participant

    @demilio

    Just did the same r-a-y :) very usefull!!

    Profile photo of nickrita
    nickrita
    Participant

    @nickrita

    Thank you very much, r-a-y, simple and good!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Remove images from Activity Stream’ is closed to new replies.