1 頁 (共 1 頁)

[問題] 如何改變一些 [img] 的問題..

發表於 : 2005-03-15 00:58
bebe2803
phpBB 預設管的很嚴... (可能是為了防止人用圖片是直接開的設定, 而令一些人放有問題的檔案令人直接開, 在其他的論壇也有不少這樣的人..)

所以一些如 tinypic.com 的圖因為沒有 .jpg, .png 等副檔, 不能用 [img] 來開, 請問有什麼解決方法 ? 謝謝各位.

發表於 : 2005-03-15 01:27
wu2017
一般圖檔連結, 適用於 jpg/gif/png

代碼: 選擇全部

[img]http://xxx.xxx.xxx/xxx.jpg[/img]
其它圖檔連結, 例如連結相簿藝廊網址的圖片(需先至後台基本組態, 在html標籤中加入img, 文章發表時注意 html 選項開啟)

代碼: 選擇全部

<img src="./album_pic.php?pic_id=xx">   簡短連結位置只適用於本身網站

<img src="http://xxx.xxx.xxx/xxx/xxxxx">   廣泛適用於各種連結
以下為官方說明資料
http://www.phpbb2.de/viewtopic.php?t=19 ... hlight=img

Code:This are the security-functions of phpBB: If the IMG-Tag allows PHP-Files

your users could run dangerous PHP Skripts directly in the post! This is a very high security-risk so phpBB filters PHP Files from the Image Tag.

If you want to show these Pics (and make a security-leck into your board) you can go to the ACP under General > Configuration, allow "HTML" and enter there img at the allowed tags.

Now these PHP-Pictures you can enter with

代碼: 選擇全部

<img src="http://xxx.xxx.xxx/album_picm.php?pic_id=xxx"> 
if you have activated HTML in your User Profile.


目前轉貼副檔名非圖片格式的連結時(包含轉貼相簿藝廊圖片), 請用 html 語法, 如上所示

發表於 : 2005-03-15 16:22
bebe2803
嗯... 真的要開 HTML @@ 那就真的很危險了.... 還真的沒什麼可能令論壇自動容許 http://www.tinypic.com 來的檔案自動容許用 [img].....