댓글에서....
본문
에디터로 첨부한 이미지가 게시판 사이즈보다 작으면
view_image.php로 띄울 수 없는데요,,,
게시판 사이즈보다 작더라도 view_image.php 새창으로 띄우고 싶습니다.
어떻게 해야 하는지....
<!--내용출력 및 에디터로 첨부한 이미지 출력-->
<?php
if (strstr($list[$i]['wr_option'], "secret") && $is_admin) {
$list[$i]['wr_content'] = url_auto_link(html_entity_decode(get_view_thumbnail($list[$i]['wr_content'])));
echo $list[$i]['wr_content'] ;
} else if ( $list[$i]['wr_option']!="secret" ){
$list[$i]['wr_content'] = url_auto_link(html_entity_decode(get_view_thumbnail($list[$i]['wr_content'])));
echo $list[$i]['wr_content'] ;
}
?>
이부분이 댓글내용(이미지 포함)을 출력하는 코드같은데요,,,
<a href="/bbs/view_image.php?bo_table=테이블변수&에디터 첨부이미지URL" target="_blank" class="view_image">
</a>
이렇게 링크 걸어주면 될거같은데..
위의 한글을 어떻게 해야 할지 모르겟습니다.
답변을 작성하시기 전에 로그인 해주세요.