묻고답하기

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

기본값으로는 '입력된숫자'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 남기남
미니 위젯스타일에서 게시판 제목 클릭시 바로 게시판 가도록 [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 유유ㅠㅠ유유
라이너스 홈페이지 리뉴얼을 했는데 타이틀과 메뉴가작동이 되질않습니다 [3] 2016.08.13 by DoorWeb
THEOTHERS socialxe에 카카오톡인 기타 SNS 연결 방법있을까요? [2] 2016.08.13 by THEOTHERS
블피 글작성시 본문이미지에 alt 및 title 태그 자동적용...  
94blossom 레이아웃에 나모 html 소스 넣는 법 알려주세요 [6] file 2016.08.12 by 라자루스
완젼초짜 사이트 이름 바꾸기 질문 입니다. file  
BRANDYK 게시판 기본스킨 첨부파일 이미지 [2] 2016.08.12 by BRANDYK
94blossom xe 스킨 간단한 수정 도와주세요 [4] file 2016.08.12 by 94blossom
ACManim 본문 글자수를 제한했는데 남은 글자수를 카운트 하고싶습니다.  
날개 닉네임 삭제 어떻게 하나요? [2] 2016.08.12 by 날개
콩쥐 포인트 초기화 관련 질문이요 ㅠㅠ [2] 2016.08.12 by 콩쥐
갤럭시탭 모바일 스킨 댓글에서 레벨 아이콘 노출 방법  
28IT apmsetup 으로 작업 마치고 웹 호스팅을 하려고 합니다. [1] 2016.08.12 by 불금
uoou 회원가입 창 에서 이메일 주소폼 옆에 글씨를 입력하고 싶어요 ㅜ ㅜ [2] file 2016.08.12 by 갤럭시탭
블피 글쓸때 자동으로 alt 및 title 태그적용..  
함성미 xe에서 슬라이드 수자를 늘리는 법좀 알려주세요. [2] 2016.08.12 by 함성미
꼬막7 회원아이디로 xe 게시판에 동영상을 올릴 수는 없나요?  
dokb 메뉴를 클릭하면 모조리 메인페이지로 연결되는 문제 해결 좀 부탁해여^^ [8] 2016.08.12 by dokb
즐거운피터씨 사이트 제목(?) 부분 수정 어떻게하나요? [2] file 2016.08.12 by 즐거운피터씨
lark007 화면깨짐문제) 창 사이즈 줄이면 위젯페이지 화면 깨짐현상.ㅠㅠ file  
94blossom 나모로 만든 html를 xe에 적용하기 도와주세요 [3] file 2016.08.12 by DoorWeb
탱탱 xe스쿨 보고 배우고 있는 초보입니다 [3] file 2016.08.12 by DoorWeb
AvAtAr SNS 공유 글 내보내기 자동으로 하는 기능은 없는지요?  
홍찬 iconshop에서 설명이 안넣어지는데 해결방법좀요,, [2] file 2016.08.12 by 홍찬
제로보드처음써요 관리자 페이지에 대해 물어볼게요~ [3] file 2016.08.12 by 제로보드처음써요