public function getLogo($what='')
	{
		//default logo
		static $default_logo;

		if (!$default_logo)
		{
			$default_logo = '/core/components/com_groups/site/assets/img/group_default_logo.png';
		}

		//logo link - links to group overview page
		$link = \Route::url('index.php?option=com_groups&cn=' . $this->get('cn'));

		//path to group uploaded logo
		$path = substr(PATH_APP, strlen(PATH_ROOT)) . '/site/groups/' . $this->get('gidNumber') . DS . 'uploads' . DS . $this->get('logo');

		//if logo exists and file is uploaded use that logo instead of default
		$src = ($this->get('logo') != '' && is_file(PATH_ROOT . $path)) ? $path : $default_logo;

		//check to make sure were a member to show logo for hidden group
		$members_and_invitees = array_merge($this->get('members'), $this->get('invitees'));
		if ($this->get('discoverability') == 1
		 && !in_array(\User::get('id'), $members_and_invitees))
		{
			$src = $default_logo;
		}

		$what = strtolower($what);
		if ($what == 'size')
		{
			return getimagesize(PATH_ROOT . $src);
		}

		if ($what == 'path')
		{
			return $src;
		}

		return \Request::base(true) . $src;
	}