안녕하세요. 오랬만에 모듈 수정해보네요.
갤러리의 이미지를 팝업으로 띄우면 어떨까하고 한번 수정해봤어요.

첨부파일
1. zSvc.class.php -> /public_html/zb5/classes/ 에 복사
2. view_pic.php  -> /public_html/zb5/ 에 복사

3 또는 4번 선택

3. board_gallary[디렉토리] -> /public_html/zb5/modules/ 에 복사
4. board_gallary_pop[디렉토리] -> 3번과 동일하며 이름만 변경 /public_html/zb5/modules/ 에 복사

ps. 흠 소마님에게 말씀안드리고 모듈 약간 수정했습니다...쩝
전체 리스트에서 이미지를 클릭하면 원래는 ./zb5/?sid=12&article_srl=13 이런식으로 불러지는데 약간수정을 봐서 ./zb5/view_pic.php?sid=12&article_srl=13&action=popup  이런 식으로 불러집니다. 나머지는 기존과 거의 유사합니다.

zSvc.class.php에서 레이아웃을 null로 불러오기 위해 수정했습니다.

아~ 라이센스를 잊었네요...zb5의 라이센스를 존중합니다. 소스 무단 배포를 했군요...쩝
/public_html/zb5/classes/zSvc.class.php  를 열어보시면 164 라인에 function proc(){ 가 있습니다.
이 함수 밑에 다음을 추가해주시면 감사하겠습니다.
---------------다음-----------------------------------
 function proc_pop() {
      $this->preProc();

      $this->_doAction();

      $this->_getModulePageHtml();

      $this->_getLayoutPopHtml();

      require_class('zAnalytics');
      zAnalytics::record();

      $this->_printHtml();
    }

function _getLayoutPopHtml() {
      if(!$this->selected_layout) return;

      $layout_name = 'null';
      $theme = $this->selected_layout->theme;
     
      $this->addLang(LAYOUT_DIR.$layout_name.'/lang/');

      @include LAYOUT_DIR.$layout_name.'/require.var.php';

      foreach($layout as $key => $value) {
        if($value['type']=='plugin') {
          $plugin_srl = $this->selected_layout->{$key};
          $this->plugin_list[$key] = $this->oPage->getPluginHtml($plugin_srl);
        }
      }

      $this->image_path = sprintf("%s%s/theme/%s/images/", LAYOUT_DIR, $layout_name, $theme);     

      $layout_tpl = sprintf("%s%s/tpl/layout.tpl",LAYOUT_DIR,$layout_name);
      $this->tpl->content = $this->oSmarty->assign_fetch($layout_tpl, $this);

      $layout_theme_css_file = sprintf("%s%s/theme/%s/layout.css",LAYOUT_DIR,$layout_name,$theme);
      if(file_exists($layout_theme_css_file)) $this->addCssFile($layout_theme_css_file);

      $layout_js_file = sprintf("%s%s/layout.js",LAYOUT_DIR,$layout_name,$layout_name);
      if(file_exists($layout_js_file)) $this->addJsFile($layout_js_file);
    }

--------------------------끝-------------------------------------
무단으로 zb5 파일을 수정배포해서 대단히 죄송합니다. 이 파일을 수정해야만 팝업이 가능하기에....쩝
라이센스와 관련해서 말씀하신다면 파일을 삭제하도록 하겠습니다.