Uploader Shortcode

[rtmedia_uploader context="post" context_id="2" album_id="34" privacy="40"]

Displays the rtMedia anywhere uploader. The simplest way to use this shortcode is:



  • a post_type (post, page, event, topic, reply, etc)
  • a BuddyPress Component (activity, profile, group)
  • a custom context, registered via code

This sets the context in which the media is uploaded. If not provided, the uploader assumes the current post type as the context. If BuddyPress is installed, the context is assumed to be the component on the current page. If bbPress is installed and user is on a forum, the context is set to the current topic or reply.

  • id of the current post_type (post, page, event, topic, reply, etc)
  • id of the current BuddyPress Component (activity, profile, group)
  • id of a custom context, registered via code

This provides the unique id of the context. For custom contexts, the database table and the id column have to be registered via code.

Specifies the album that the media must be uploaded to. If not specified the media will be added to the default ‘Wall Posts’ album.
Sets the privacy level of the uploaded file. If the user has set a default privacy, it will default to that. Else, it defaults to the sitewide privacy
Type of media (photo, video, music ) to be uploaded using the shortcode. rtMedia PRO users can also specify media type as “document” or “other” for document and other media types as required.


  1. can i use this plugin to add image to buddypress comments?

  2. I need to allow a person to add one video as part of their profile. I clicked on the media button then the video button and clicked on the Select button. Nothing happens. What am I doing wrong? I only have video enabled in the media types.

    • It works on the demo site of rtCamp. Could you give us more details, including the URL where you’re trying to upload the video?

      For further discussions, please use our rtMedia support program for high-quality assistance. The details are here: http://rtcamp.com/rtmedia/support/

  3. hi staff,
    can this plugin add media files also into bbpress posts ?

Comments are closed on this article.
Please use free our support forum for support and discussions.

People Who Like Thisx