<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
	<channel>
				<title><![CDATA[KBoard 오션 갤러리 스킨이요]]></title>
		<link>https://www.cosmosfarm.com/threads/rss/document/11205</link>
		<description><![CDATA[<p>예전에 KBoard 비너스웹진 스킨으로 같은 질문을 드렸었는데요~</p>

<p>목록의 썸네일 크기를 조절 하는 방법좀 부탁드립니다.^^</p>

<p>감사합니다.</p>
]]></description>
		<copyright>Copyright 2026, 코스모스팜</copyright>
				<item>
			<title><![CDATA[ocean-gallery 스킨의 style.css 파일과 list.php 파일을 수정해주셔야 합니다.

 

style.css 파일에서...]]></title>
			<link>https://www.cosmosfarm.com/threads/document/11216</link>
			<description><![CDATA[<p>ocean-gallery 스킨의 style.css 파일과 list.php 파일을 수정해주셔야 합니다.</p>

<p> </p>

<p>style.css 파일에서는 아래 px 값들을 수정해주세요.</p>

<p>#kboard-ocean-gallery-list .kboard-list { float: left; width: 100%; text-align: center; }<br />
#kboard-ocean-gallery-list .kboard-list img { display: inline; margin: 0; width: <strong>220px</strong>; height: <strong>155px</strong>; vertical-align: middle; border-radius: 3px; box-shadow: 0 1px 2px RGBA(0, 0, 0, 0.2); }<br />
#kboard-ocean-gallery-list .kboard-list .kboard-gallery-item { display: inline-block; *display: inline; zoom: 1; padding: 0 10px; width: <strong>220px</strong>; box-sizing: content-box; }<br />
#kboard-ocean-gallery-list .kboard-list .kboard-no-image { line-height: <strong>155px</strong>; }<br />
#kboard-ocean-gallery-list .kboard-list .kboard-gallery-thumbnail { position: relative; float: left; width: <strong>220px</strong>; text-align: center; }</p>

<p> </p>

<p>그리고 list.php 파일에서는 아래의 수치를 동일하게 변경해주세요.</p>

<p>&lt;!-- 리스트 시작 --&gt;<br />
&lt;div class="kboard-list"&gt;<br />
&lt;?php while($content = $list-&gt;hasNext()):?&gt;<br />
    &lt;div class="kboard-gallery-item"&gt;<br />
        &lt;div class="kboard-gallery-thumbnail"&gt;<br />
            &lt;?php<br />
            if($content-&gt;thumbnail_file){<br />
                $resize_img_src = kboard_resize($content-&gt;thumbnail_file, <strong>220</strong>, <strong>155</strong>);<br />
            }<br />
            else{<br />
                $attach = current($content-&gt;attach);<br />
                if($attach[0]){<br />
                    $resize_img_src = kboard_resize($attach[0], <strong>220</strong>, <strong>155</strong>);<br />
                }<br />
                else{<br />
                    $media = new KBContentMedia();<br />
                    $media-&gt;content_uid = $content-&gt;uid;<br />
                    $media-&gt;media_group = $content-&gt;uid;<br />
                    $media_list = $media-&gt;getList();<br />
                    $media_item = reset($media_list);<br />
                    if(isset($media_item-&gt;file_path) &amp;&amp; $media_item-&gt;file_path){<br />
                        $resize_img_src = kboard_resize($media_item-&gt;file_path, <strong>220</strong>, <strong>155</strong>);<br />
                    }<br />
                    else{<br />
                        $resize_img_src = '';<br />
                    }<br />
                }<br />
            }<br />
            ?&gt;<br />
            &lt;?php if($resize_img_src):?&gt;<br />
            &lt;img src="&lt;?php echo $resize_img_src?&gt;" style="max-width: <strong>220px</strong>;" alt=""&gt;<br />
            &lt;?php else:?&gt;<br />
            &lt;div class="kboard-no-image"&gt;&lt;i class="icon-picture"&gt;&lt;/i&gt;&lt;/div&gt;<br />
            &lt;?php endif?&gt;<br />
            &lt;div class="kboard-gallery-foreground"&gt;&lt;a href="&lt;?php echo $url-&gt;set('uid', $content-&gt;uid)-&gt;set('mod', 'document')-&gt;toString()?&gt;"&gt;&lt;img src="&lt;?php echo KBOARD_URL_PATH . '/skin/ocean-gallery/images/over-foreground.png'?&gt;" style="max-width: <strong>220px</strong>;" alt=""&gt;&lt;/a&gt;&lt;/div&gt;<br />
            &lt;div class="kboard-gallery-username"&gt;&lt;a href="&lt;?php echo $url-&gt;set('uid', $content-&gt;uid)-&gt;set('mod', 'document')-&gt;toString()?&gt;"&gt;&lt;?php echo date("Y/m/d", strtotime($content-&gt;date))?&gt; by. &lt;?php echo $content-&gt;member_display?&gt;&lt;/a&gt;&lt;/div&gt;<br />
        &lt;/div&gt;<br />
        &lt;div class="kboard-gallery-title cut_strings"&gt;&lt;a href="&lt;?php echo $url-&gt;set('uid', $content-&gt;uid)-&gt;set('mod', 'document')-&gt;toString()?&gt;"&gt;&lt;?php echo $content-&gt;title?&gt;&lt;/a&gt;&lt;/div&gt;<br />
    &lt;/div&gt;<br />
&lt;?php endwhile?&gt;<br />
&lt;/div&gt;<br />
&lt;!-- 리스트 끝 --&gt;</p>
]]></description>
			<author>스레드봇</author>
			<pubDate>Fri, 09 Dec 2016 03:31:54 +0000</pubDate>
			<category>KBoard</category>
		</item>
			</channel>
</rss>