/**
  * Get the base path to where the gallery thumbnail is stored - create directory if needed
  *
  * @param numeric $pContentId Content ID of gallery in question
  * @access public
  * @return Path to thumbnail directory on success, FALSE on failure
  */
 function getGalleryThumbBaseUrl($pContentId = NULL)
 {
     $ret = FALSE;
     if (!@BitBase::verifyId($pContentId) && $this->isValid()) {
         $pContentId = $this->mContentId;
     }
     if (@BitBase::verifyId($pContentId)) {
         // getStorageBranch is a private function, so this is a no-no but necessary until LA offers something better
         $ret = LibertyMime::getStorageBranch('gallery_thumbnails/' . $pContentId, NULL, TREASURY_PKG_NAME);
     }
     return $ret;
 }