묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
첨부파일 전부 섬네일로 보이게 할수 있을까요?
2018.08.23 23:14
<div class="list"> <form action="./" method="get" class="list-body"> <fieldset> <div class="container hide"> <ul> <li class="fbox article"> <a href="#" class="title"><span class="iefix"></span></a> <span class="thumb"> <img src="./img/noimage.gif" width="{$mi->thumbnail_width}" height="{$mi->thumbnail_height}" alt="" /></a> </span> </li> </ul> </div> <div class="container"> <ul> <li class="fbox article {($list_idx++%2)?'odd':'even'}" loop="$document_list=>$doc" > {@ $post_link = getUrl('document_srl',$doc->document_srl); $perm_link = $doc->getPermanentUrl(); $comment_count = $doc->getCommentCount(); $has_thumbnail = $doc->thumbnailExists($mi->thumbnail_width, $mi->thumbnail_height, $mi->thumbnail_type); } <span class="thumb"> <a href="{$post_link}" class="title"> <!--@if($has_thumbnail)--> <img src="{$doc->getThumbnail(auto, auto, ratio)}" width="auto" height="auto" alt="" /> <!--@else--> <img src="./img/noimage.gif" width="{$mi->auto}" height="{$mi->auto}" alt="" /> <!--@end--> </a> </span> </li> </ul> </div> </fieldset> </form> <div class="list_footer"> <div class="btnArea" style="float: right; "> <span class="btn"><a href="{getUrl('act','dispBoardWrite','document_srl','')}">{$lang->cmd_write}...</a></span> </div> <div class="board_header" cond="$module_info->title_image || $grant->manager" style="float: right; padding-top: 15px; padding-right: 10px;"> <h2 cond="$module_info->title_image"><a href="{getUrl('','mid',$mid)}"><img src="{$module_info->title_image}" alt="{$module_info->title_alt}" /></a></h2> <a cond="$grant->manager" class="setup" href="{getUrl('act','dispBoardAdminBoardInfo')}" title="{$lang->cmd_setup}">{$lang->cmd_setup}</a> </div> </div> </div>
갤러리 모드에서 섬네일을 키워서 클릭하지 않고도 원본 이미지 그대로 볼수 있도록 수정중인데 1개의 게시글에 여러개의 이미지 첨부시에 혹시 첨부되어있는 이미지 전부가 보이도록 할수 있을까요?