묻고답하기

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

기본값으로는 '입력된숫자'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 남기남
nazuna1 1.8.24 신규 설치 시 mod_rewrite 감지를 못하는 문제 [7] 2016.08.17 by 휘즈
던힐 글삭제 방법좀 문의드려요 [1] 2016.08.17 by nazuna1
outsider 코어 업데이트 주의사항 중 DB 생성 및 업데이트 관련 문구의 의미는? [2] 2016.08.16 by outsider
썸씽 유튜브 모듈 설치 후 트래픽 증가  
thdwjdtjr 스케치북에 아이콘이 추가로 업데이트 되었는지요 file  
skycoby XE설치 했습니다 사이트는 어떻게 만들어야 되나요? [1] 2016.08.16 by sejin7940
똑디 관리자로 로그인 후 관리자 페이지 접근 불가 [2] 2016.08.16 by 똑디
기만1988 작성자를 제작자로 변경 할 수 없을까요? [2] file 2016.08.16 by 기만1988
짱구삼촌 회원로그인하면 기본 url설정이 안되있다고 나온다는데? [1] 2016.08.16 by sejin7940
calko Textarea para issue [2] 2016.08.16 by calko
AllAbout 아이폰에서 로그인에 입력자체가 안됩니다 [1] 2016.08.15 by Novelic
어도러블 모듈 설치 [1] 2016.08.15 by 어도러블
홍찬 xe 경고메세지 페이지로 보내는 방법 file  
atasis 회원가입 폼에서 설명 추가하는 방법 알고 계시나요? file  
꾸르 xe로만든홈에 글을올리고 싶은데 쓸수없나요? [2] file 2016.08.15 by 윈컴이
꾸르 모바일버전 홈페이지대문사진을 어떻게 바꾸나요? [1] file 2016.08.15 by 윈컴이
댑펑 이게 도대체 무슨 의미인지 아시는분? [2] file 2016.08.15 by 댑펑
기만1988 레이아웃 수정 이 부분은 어디서 조정할 수 있을까요? [3] file 2016.08.15 by 기만1988
초보자 "NAVER 신디케이션 Token"에 어느 것을 적는 것인지요 [1] 2016.08.15 by thdwjdtjr
앤드류문 최근 게시글 위젯에 대하여  
생컨38889 새로운 글/ 댓글에서 문의게시판 글이 안보였으면 합니다. [2] 2016.08.14 by 생컨38889
어도러블 XE 설치 전 index.php 접속불가 [1] 2016.08.14 by 기진곰
치삼 xe를 설치하고나서 트래픽이 초과됩니다.  
완젼초짜 구글링 검색시 홈페이지 이름검색  
미니 위젯스타일에서 게시판 제목 클릭시 바로 게시판 가도록 [5] file 2016.08.13 by 미니
날개 모바일 회원정보에서 포인트 보이게 하는 법 알려주세요 [1] 2016.08.13 by HowtoXE
thdwjdtjr 메인화면에서 외부페이지를 불러오지 못합니다. [4] 2016.08.13 by thdwjdtjr
thdwjdtjr 사이트 이전 후 메인화면이 노출되지 않습니다. [2] 2016.08.13 by thdwjdtjr
아스마 이게 뭔지 아시는분 계실까요? [1] file 2016.08.13 by HowtoXE
유유ㅠㅠ유유 스케치북 모바일 게시판 글쓰기 html오류 [2] file 2016.08.13 by 유유ㅠㅠ유유