Skip to:
Content
Pages
Categories
Search
Top
Bottom

can’t display group avatar


  • grosfaignan
    Participant

    @grosfaignan

    hello

    i writed this code part for wordpress :

    
    <?php $av_id=bp_get_group_id();?>
    <div class="img_group" style="background: no-repeat url('<?php echo(bp_core_fetch_avatar('item_id='.$av_id.'&object=group&no_grav=true&html=false'));?>');" ></div>

    in my google chrome code inspector i have this html output :

    
    <div class="img_group" style="background: no-repeat url("http://localhost/001-blueprint/wp-content/uploads/group-avatars/2/5f3252e75e000-bpthumb.png");"></div>

    and i have this css line in my chrome inspector too, i have image miniature on flyhover so image seems to be charged.

    
    element.style {
        background: no-repeat url(http://localhost/001-blueprint/wp-content/uploads/group-avatars/2/5f3252e75e000-bpthumb.png);
    }

    problem, i don’t have anything on my website …

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar