This is the media code, whats wrong why does it show the link of the inserted image. Anyone??
function bp_post_buttons_inserts($form, $element, $snippetstag) {
//uncomment and use insert_body instead of insert_body_disabled to hide by default
// echo(‘<span class=”insert_head”><b>[Insert Media..] </b></span>’);
echo(‘<div class=”insert_body_disabled bppb_headroom”>’);
echo(“‘);\”>link“);
echo(“<a href=\"javascript:insert_tag_url('$form','$element','‘);\” />image“);