public function __construct()
{
add_shortcode('rtmedia_gallery', array('RTMediaGalleryShortcode', 'render'));
add_action('wp_ajax_rtmedia_get_template', array(&$this, 'ajax_rtmedia_get_template'));
add_action('wp_ajax_nopriv_rtmedia_get_template', array(&$this, 'ajax_rtmedia_get_template'));
}