●主機作業系統:Linux
●您的上網方式:ADSL
●您安裝的程式:MySql 5.0
●您的 phpBB 版本:phpBB 3.0.3
●您的 domain (網域名稱) : http://www/cadillac-taiwanclub.com
●您的 phpBB 連結網址: http://www/cadillac-taiwanclub.com
請問一下
為什麼我把圖片加入文章之後在圖片上還是變成附加檔案的模式出現呢?
我確定我有用把圖片插到文章裡面並顯示
像這樣
http://www.cadillac-taiwanclub.com/view ... p?f=7&t=10
謝謝
[問題]把圖片加入文章之後在圖片上還是變成附加檔案的模式出現-使用Hestia風格-[已解決]
版面規則
請注意!您的提問必須遵守發問格式,違者砍文。
請注意!您的提問必須遵守發問格式,違者砍文。
[問題]把圖片加入文章之後在圖片上還是變成附加檔案的模式出現-使用Hestia風格-[已解決]
最後由 smolik.tw 於 2008-12-21 20:56 編輯,總共編輯了 1 次。
Re: [問題]把圖片加入文章之後在圖片上還是變成附加檔案的模式出現
這應該是風格的問題.smolik.tw 寫:●主機作業系統:Linux
●您的上網方式:ADSL
●您安裝的程式:MySql 5.0
●您的 phpBB 版本:phpBB 3.0.3
●您的 domain (網域名稱) : http://www/cadillac-taiwanclub.com
●您的 phpBB 連結網址: http://www/cadillac-taiwanclub.com
請問一下
為什麼我把圖片加入文章之後在圖片上還是變成附加檔案的模式出現呢?
我確定我有用把圖片插到文章裡面並顯示 像這樣
http://www.cadillac-taiwanclub.com/view ... p?f=7&t=10
謝謝
建議您:
1. 貼出您的風格的名稱與參考連結.
2. 參考此文修改.
http://phpbb-tw.net/phpbb/viewtopic.php ... 37#p268237
P.S.
移動至 "風格問題討論" 版面.
Re: [問題]把圖片加入文章之後在圖片上還是變成附加檔案的模式出現
心靈補手大大您好
我現在是用 Hestia
因為其它討論區的改法都是 subsilver2 用的.是否可以請您教一下在 Hestia 下要怎麼處理呢?
謝謝
我現在是用 Hestia
因為其它討論區的改法都是 subsilver2 用的.是否可以請您教一下在 Hestia 下要怎麼處理呢?
謝謝
Re: [問題]把圖片加入文章之後在圖片上還是變成附加檔案的模式出現
因為此風格是以 subsilver2 為基礎而加以修改的, 所以您可自行參考該主題修改.smolik.tw 寫:心靈補手大大您好
我現在是用 Hestia
因為其它討論區的改法都是 subsilver2 用的.是否可以請您教一下在 Hestia 下要怎麼處理呢?
謝謝
重點有兩個--移除 "(title) 附加檔案" 以及 "(class) attachcontent".
以下修改提供您參考:
開啟
styles/hestia/template/bbcode.html
找到
代碼: 選擇全部
<!-- BEGIN inline_attachment_open -->
<div class="bb-wrapper"><table border="0" cellspacing="0" cellpadding="0" class="bb-table" width="100%">
<tr>
<td width="4" height="4" class="bb-left-top"><img src="images/spacer.gif" width="4" height="4" border="0" alt="" /></td>
<td width="100%" class="bb-top"><img src="images/spacer.gif" width="4" height="4" border="0" alt="" /></td>
<td width="4" height="4" class="bb-right-top"><img src="images/spacer.gif" width="4" height="4" border="0" alt="" /></td>
</tr>
<tr>
<td class="bb-left"><img src="images/spacer.gif" width="3" height="4" border="0" alt="" /></td>
<td class="bb-content bb-attach" width="100%">
<div class="attachtitle">{L_ATTACHMENT}:</div>
<div class="attachcontent">
<!-- END inline_attachment_open -->
<!-- BEGIN inline_attachment_close -->
</div>
</td>
<td class="bb-right"><img src="images/spacer.gif" width="3" height="4" border="0" alt="" /></td>
</tr>
<tr>
<td width="4" height="4" class="bb-left-bot"><img src="images/spacer.gif" width="4" height="4" border="0" alt="" /></td>
<td width="100%" class="bb-bot"><img src="images/spacer.gif" width="4" height="4" border="0" alt="" /></td>
<td width="4" height="4" class="bb-right-bot"><img src="images/spacer.gif" width="4" height="4" border="0" alt="" /></td>
</tr>
</table></div>
<!-- END inline_attachment_close -->代碼: 選擇全部
<!-- BEGIN inline_attachment_open -->
<div>
<!-- END inline_attachment_open -->
<!-- BEGIN inline_attachment_close -->
</div>
<!-- END inline_attachment_close -->styles/hestia/template/viewtopic_body.html
找到
代碼: 選擇全部
<!-- IF postrow.S_HAS_ATTACHMENTS -->
<br clear="all" /><br />
<div class="bb-wrapper"><table border="0" cellspacing="0" cellpadding="0" class="bb-table" width="100%">
<tr>
<td width="4" height="4" class="bb-left-top"><img src="images/spacer.gif" width="4" height="4" border="0" alt="" /></td>
<td width="100%" class="bb-top"><img src="images/spacer.gif" width="4" height="4" border="0" alt="" /></td>
<td width="4" height="4" class="bb-right-top"><img src="images/spacer.gif" width="4" height="4" border="0" alt="" /></td>
</tr>
<tr>
<td class="bb-left"><img src="images/spacer.gif" width="3" height="4" border="0" alt="" /></td>
<td class="bb-content bb-attach" width="100%">
<div class="attachtitle">{L_ATTACHMENTS}:</div>
<!-- BEGIN attachment -->
<div class="attachcontent">{postrow.attachment.DISPLAY_ATTACHMENT}</div>
<!-- END attachment -->
</td>
<td class="bb-right"><img src="images/spacer.gif" width="3" height="4" border="0" alt="" /></td>
</tr>
<tr>
<td width="4" height="4" class="bb-left-bot"><img src="images/spacer.gif" width="4" height="4" border="0" alt="" /></td>
<td width="100%" class="bb-bot"><img src="images/spacer.gif" width="4" height="4" border="0" alt="" /></td>
<td width="4" height="4" class="bb-right-bot"><img src="images/spacer.gif" width="4" height="4" border="0" alt="" /></td>
</tr>
</table></div>
<!-- ENDIF -->
代碼: 選擇全部
<!-- IF postrow.S_HAS_ATTACHMENTS -->
<br clear="all" /><br />
<table>
<!-- BEGIN attachment -->
<tr>
<!-- IF postrow.attachment.S_ROW_COUNT is even --><td class="row2"><!-- ELSE --><td class="row1"><!-- ENDIF -->{postrow.attachment.DISPLAY_ATTACHMENT}</td>
</tr>
<!-- END attachment -->
</table>
<!-- ENDIF -->清除論壇快取.
DEMO:
http://wang5555.dnsfor.me/test/phpBB3/viewtopic.php?f=2&t=2
P.S.
Hestia 參考連結:
http://www.phpbb.com/community/viewtopi ... &t=1341675
Re: [問題]把圖片加入文章之後在圖片上還是變成附加檔案的模式出現-使用Hestia風格-[已解決]
感謝大大
已經解決了.謝謝.
已經解決了.謝謝.

