Images in activity stream
-
Hello. When i try to add an image to the content of bp_activity_add it works BUT only for admins
$content = '<a href="' . $detail_link . '"><img src="' . $image_url . '" width="100" height="50" alt=""></a>'."\n"; $content .= ''."\n"; $content .= '' . $comment->comment_content . ''; bp_activity_add(array( 'user_id' => $user_ID, 'action' => $action, 'content' => $content, 'component' => $component, 'primary_link' => $detail_link, 'type' => $type ));
What i observed is that direct URL for any image in content section will fail. But it works for any admin. I am confused why is that. Any other link works well this is only for image links.
Any idea?
Thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.