묻고답하기

컨텐츠 위젯의 기본스킨에서 갤러리형 출력방식을 사용할 때 썸네일의 가로 크기를 %로 설정하고 싶습니다.

기본값으로는 '입력된숫자'px로 가로 크기가 출력되는데요. gallery.html 파일을 열어 px값을 %로 바꿔보려해도 쉽지 않네요..

도와주실 분 계신가요?

 

 

gallery.html

 

<ul class="widgetGalleryA" style="width:{$widget_info->cols_list_count*($widget_info->thumbnail_width+28)}px;">
{@$_idx=0}
    <!--@foreach($widget_info->content_items as $key => $item)-->
    <li<!--@if($_idx>0 && $_idx % $widget_info->cols_list_count==0)--> class="clearLeft"<!--@end--> style="<!--@if($_idx >= $widget_info->list_count)-->display:none;<!--@end-->width:{$widget_info->thumbnail_width}px;">
        <!--@foreach($widget_info->option_view_arr as $k => $v)-->
            <!--@if($v=='thumbnail')-->
                <a href="{$item->getLink()}" class="thumb" style="width:{$widget_info->thumbnail_width}px;height:{$widget_info->thumbnail_height}px" target="_blank"|cond="$widget_info->new_window">
                    <!--@if($item->getThumbnail())-->
                        <img src="{$item->getThumbnail()}" style="width:{$widget_info->thumbnail_width}px;height:{$widget_info->thumbnail_height}px"/>
                    <!--@else-->
                        <span class="imgNone">{$lang->none_image}</span>
                    <!--@end-->
                <!--@if($widget_info->show_browser_title=='Y' && $item->getBrowserTitle())-->
                    <strong class="board">{$item->getBrowserTitle()}</strong>
                <!--@end-->
                <!--@if($widget_info->show_category=='Y' && $item->getCategory())-->
                    <strong class="category">{$item->getCategory()}</strong>
                <!--@end-->
                </a>

            <!--@else if($v=='title')-->
                <a href="{$item->getLink()}" class="title" target="_blank"|cond="$widget_info->new_window">{$item->getTitle($widget_info->subject_cut_size)}</a>
                <!--@if($widget_info->show_comment_count=='Y' && $item->getCommentCount())-->
                    <em class="replyNum" title="Replies"><a href="{$item->getLink()}#comment">{$item->getCommentCount()}</a></em>
                <!--@end-->

                <!--@if($widget_info->show_trackback_count=='Y' && $item->getTrackbackCount())-->
                    <em class="trackbackNum" title="Trackbacks"><a href="{$item->getLink()}#trackback">{$item->getTrackbackCount()}</a></em>
                <!--@end-->

                <!--@if($widget_info->show_icon=='Y')-->
                    <span class="icon">{$item->printExtraImages()}</span>
                <!--@end-->

        <!--@else if($v=='nickname')-->
            <a href="#" onclick="return false;" class="author member_{$item->getMemberSrl()}">{$item->getNickName($widget_info->nickname_cut_size)}</a>
        <!--@else if($v=='regdate')-->
            <span class="date">{$item->getRegdate("Y-m-d")}</span> <span class="hour">{$item->getRegdate("H:i")}</span>
        <!--@end-->
    <!--@end-->
    </li>
    {@$_idx++}
    <!--@end-->
</ul>

<!--@if($widget_info->page_count > 1 && $widget_info->list_count<$_idx)-->
<ul class="widgetNavigator">
    <li><button type="button" class="prev" title="{$lang->cmd_prev}" onclick="content_widget_prev(jQuery(this).parents('ul.widgetNavigator').prev('ul.widgetGalleryA'),{$widget_info->list_count})"><span>{$lang->cmd_prev}</span></button></li>
    <li><button type="button" class="next" title="{$lang->cmd_next}" onclick="content_widget_next(jQuery(this).parents('ul.widgetNavigator').prev('ul.widgetGalleryA'),{$widget_info->list_count})"><span>{$lang->cmd_next}</span></button></li>
</ul>
<!--@end-->

글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
말고기 가상사이트 모바일페이지 파일업로드@_@  
물렁이2 메인페이지 위치좀 알려주세요. [2] 2016.08.04 by 물렁이2
하영 동영상 업로드  
원이아빠 대분류 중분류 소분류 나누는 방법 [2] 2016.08.04 by HowtoXE
멍멍 중고장터(마켓플레이스)에 결제모듈 가능할까요? [4] 2016.08.04 by HowtoXE
신나비 게시판 분류 특정그룹만 보게하는 법이요! [2] 2016.08.04 by sejin7940
ppumweb 그룹권한에 따른 로그인 회원의 이름 폰트색깔 지정 [1] 2016.08.04 by HowtoXE
굿테크 회원가입여부.. [1] 2016.08.04 by HowtoXE
이고노 미치겠습니다 ㅠㅠ 스케치북 게시판 썸네일 도와주세요!!!! [1] 2016.08.04 by HowtoXE
갤럭시탭 실명 및 확장정보 출력애드온 문의 [1] 2016.08.03 by HowtoXE
tamar**** [초보]게시글에 답변 버튼 추가 문의 [1] file 2016.08.03 by sejin7940
가르송 반응형에서는 뜨는데 모바일에서는 안떠요.. [2] 2016.08.03 by 가르송
28IT 이미 설정되어있는 레이아웃을 수정하고 싶은데요 [2] 2016.08.03 by SimpleCode
멍멍 db 복구문의입니다 ㅠㅠ [1] 2016.08.03 by SimpleCode
라크 xml 쿼리 중 column 항목이 null일때 특정 값으로 치환 질문 [4] 2016.08.03 by 라크
hittttte xe를 설치하려고하니 500에러가... [7] 2016.08.03 by 댑펑
스몰블랙빈 슬라이드 팝업 [1] file 2016.08.03 by 스몰블랙빈
다리44 xe profiler 슬로우로그 문의 드립니다. [2] file 2016.08.03 by 다리44
짱구삼촌 익스11에서 로그인이 잘 안되고 있습니다.  
휴이7 일정 추천수 달성 시 같은 게시판 내 다른 카테고리로 이동시키는 방법이요 [1] 2016.08.03 by 휴이7
outsider CKEditor에 extraPlugins 설치 후 툴바가 나타나지 않는 현상? [3] file 2016.08.03 by outsider
94blossom 슬라이드 사진에 있는 다른글은 어떻게 변경하는 건가요? [3] file 2016.08.03 by outsider
outsider 이미지 갤러리 컴포넌트 loading 문제 file  
94blossom 홈페이지 하단 푸터 제거는 어떻게 하나요? [2] file 2016.08.03 by 94blossom
진성진성 블로그에 포스팅하면 게시판에 자동으로 등록되게 할수있나요?  
94blossom 게시판 가운데 정렬할려면 어떻게 하나요? [4] 2016.08.03 by 라자루스
유자차 서브타이틀 글자 밑에 선 없애는 방법 [1] file 2016.08.02 by HowtoXE
댑펑 soft 404 문제 어떻게 해결해야 할까요? [1] 2016.08.02 by HowtoXE
94blossom 홈페이지 제목 변경 도와주세요 [1] file 2016.08.02 by HowtoXE
94blossom 에디터플러스로 홈페이지 제작이 가능한가요? [1] 2016.08.02 by sejin7940