윈도우 팝업 질문드립니다
본문
아래의 윈도우 팝업 소스에서
http://www.naver.com 이 부분을 =>
<?php echo get_file_thumbnail($view['file'][14]);?> 이 코드로 변경을 하려고 합니다.
시도을 해보아도 안되네요.
            <script type="text/javascript">
            function openPop(){
                var popup = window.open('http://www.naver.com', '네이버팝업', 'width=700px,height=800px,scrollbars=yes');
            }
            </script>
            <body>
               <a href="#none" target="_blank" onclick="openPop()">팝업</a>
            </body>
================================================================================
개발자님이 알려주신
아래 코드를 이용을 해보았습니다만
출력이 안됩니다.
            <div class="detailbox_border2">
                 <?php
                 // 파일 출력
                 $v_img_count = count($view['file']);
                 if($v_img_count) {
                     echo "<div id=\"bo_v_img\">\n";
// 2022-01-13
for ($i=0; $i<$v_img_count-1; $i++) {
  $attr_href = run_replace('thumb_view_image_href', G5_BBS_URL.'/view_image.php?bo_table='.$board['bo_table'].'&fn='.urlencode($file), $file, $board['bo_table'], $width, $height, $content);
  $img = '<a href="'.$attr_href.'" target="_blank" class="view_image">';
  $img .= '<img src="'.G5_DATA_URL.'/file/'.$board['bo_table'].'/'.urlencode($file).'" alt="'.$content.'" '.$attr.'>';
  $img .= '</a>';
  
 echo $img;
}
// 2022-01-13
               //      for ($i=0; $i<=count($view['file']); $i++) {
               //          echo get_file_thumbnail($view['file'][$i]);
               //      }
                     echo "</div>\n";
                 }
                  ?>
               </div>