2 頁 (共 2 頁)

發表於 : 2002-08-12 01:12
bubuoo
請問有沒有辦法自動把太大的圖縮小成一定的大小啊??

^^
麻煩大大了

發表於 : 2002-08-12 05:38
健仔
把圖片置中比較不會那麼好看
畢竟這是個代表圖而已\r
所以放旁邊就好了
你參考我的看看
http://n629.d2g.com/phpBB2/index.php

發表於 : 2002-08-12 08:15
ggyy73
尋找\r
[php]
<?php
<span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
</span> <span class="genmed">{catrow.forumrow.FORUM_DESC}<br />
</span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span>
?>
[/php]

取代\r
[php]
<?php
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="5%"><img src="{catrow.forumrow.FORUM_ICON}" alt="{catrow.forumrow.FORUM_NAME}" /></td>
<td width="95%">
<span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
</span> <span class="genmed">{catrow.forumrow.FORUM_DESC}<br />
</span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span>
</td>
</tr>
</table>
?>
[/php]
看看我的吧.............
Rong Studio論壇

發表於 : 2002-08-12 08:46
健仔
大家好像都是用 32 X 32 的圖

發表於 : 2002-08-12 09:25
動機不明
bubuoo 寫:請問有沒有辦法自動把太大的圖縮小成一定的大小啊??

^^
麻煩大大了
將這段\r

代碼: 選擇全部

<img src="{catrow.forumrow.FORUM_ICON}" alt="{catrow.forumrow.FORUM_NAME}" />
加上長寬限制就可以了

代碼: 選擇全部

<img src="{catrow.forumrow.FORUM_ICON}" alt="{catrow.forumrow.FORUM_NAME}" width="32" height="32" />

發表於 : 2002-08-12 09:27
Acers
河風老大請問一下
可以把圖放在最前面那格嗎?
你懂偶的意思嗎^^|||

發表於 : 2002-08-12 10:09
動機不明
Acers 寫:河風老大請問一下
可以把圖放在最前面那格嗎?
你懂偶的意思嗎^^|||
可以呀!
只要在 index_body.tpl 裡面調整一下位置就好了(其實我一開始就是這樣設計的 :-? )

同時也要改

代碼: 選擇全部

<th colspan="2" class="thCornerL" height="25" nowrap="nowrap">{L_FORUM}</th>
為\r

代碼: 選擇全部

<th colspan="[color=red][b]3[/b][/color]" class="thCornerL" height="25" nowrap="nowrap">{L_FORUM}</th>
搜尋

代碼: 選擇全部

	<td class="row1" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="46" height="25" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
後面(或前面)加入\r

代碼: 選擇全部

<td><img src="{catrow.forumrow.FORUM_ICON}" width="32" height="32" alt="{catrow.forumrow.FORUM_NAME}" /></td>
試試看.....(我還沒有測過喔~)

發表於 : 2002-08-12 10:41
蠟筆小生
ggyy73 寫:尋找\r
[php]
<?php
<span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
</span> <span class="genmed">{catrow.forumrow.FORUM_DESC}<br />
</span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span>
?>
[/php]

取代\r
[php]
<?php
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="5%"><img src="{catrow.forumrow.FORUM_ICON}" alt="{catrow.forumrow.FORUM_NAME}" /></td>
<td width="95%">
<span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
</span> <span class="genmed">{catrow.forumrow.FORUM_DESC}<br />
</span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span>
</td>
</tr>
</table>
?>
[/php]
看看我的吧.............
Rong Studio論壇
還是不能..><"

代碼: 選擇全部

<!-- BEGIN forumrow -->
  <tr>

        <td class="row1" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="46" height="25" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
        <td class="row1" width="100%" height="50" onMouseOver="this.style.backgroundColor='#DEE3E7'; this.style.cursor='arrow';" onMouseOut="this.style.backgroundColor='#EFEFEF';"


        <span class="forumlink">[color=#ff0066]<td width="5%"><img src="{catrow.forumrow.FORUM_ICON}" alt="{catrow.forumrow.FORUM_NAME}" />[/color]<a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}<a href="{catrow.forumrow.U_QUICK_TOPIC}"><img src="{QUICK_TOPIC_IMG}" alt="{L_QUICK_TOPIC}" border="0" /></a><br />
        </span> <span class="genmed">{catrow.forumrow.FORUM_DESC}<br />
        </span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td></tr></table>
        <td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
        <td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
        <td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
  </tr>
  <!-- END forumrow -->
這是我的一整段

發表於 : 2002-08-12 10:50
動機不明
這是我的,你參考看看 :oops:

代碼: 選擇全部

  <!-- BEGIN forumrow -->
  <tr> 
	<td class="row1" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="46" height="25" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
	<td class="row1" align="center" valign="middle">

[color=red]	<table cellpadding="0" cellspacing="0"><tr><td>
	<img src="{catrow.forumrow.FORUM_ICON}" width="32" height="32" alt="{catrow.forumrow.FORUM_NAME}" />
	</td>
	<td class="row1" width="100%" height="50" onMouseOver="this.style.backgroundColor='#FFFFFF';" onMouseOut="this.style.backgroundColor='#F5F3EB';"><span class="forumlink"><a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a></span> <span class="gensmall"><font color="#D8BAB7"> {catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</font></span><br /><span class="genmed">{catrow.forumrow.FORUM_DESC}</span></td>
	</tr></table>[/color]

	<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
	<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
	<td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall"><a href="{catrow.forumrow.U_LAST_TOPIC}">{catrow.forumrow.LAST_TOPIC}</a><br />{catrow.forumrow.LAST_POST}</span></td>
  </tr>
  <!-- END forumrow -->

發表於 : 2002-08-12 15:08
蠟筆小生
問題已解決...謝謝你指點

發表於 : 2002-08-12 23:31
bubuoo
河風 寫:
bubuoo 寫:請問有沒有辦法自動把太大的圖縮小成一定的大小啊??

^^
麻煩大大了
將這段\r

代碼: 選擇全部

<img src="{catrow.forumrow.FORUM_ICON}" alt="{catrow.forumrow.FORUM_NAME}" />
加上長寬限制就可以了

代碼: 選擇全部

<img src="{catrow.forumrow.FORUM_ICON}" alt="{catrow.forumrow.FORUM_NAME}" width="32" height="32" />
太棒了
謝啦!!!!! :mrgreen:

發表於 : 2002-08-24 00:04
wen_ch
滿好用的..
加了之後版面比較好看囉
YA.. :lol:

發表於 : 2003-06-03 03:17
lo6666
謝謝河風大..一次就成功啦^^ :-P
感覺漂亮許多ㄝ...讚 (:Y)