1 頁 (共 1 頁)

[問題]請問圖片外連的問題

發表於 : 2004-11-11 00:08
suicidal
為了減少流量...小弟想把phpbb2/images/下面的圖片路徑設定為外連...
由別的伺服器讀取...請問小弟該重哪些檔案下手...

發表於 : 2004-11-11 16:34
hpo14
我沒有記錯的話,要改的應該是 .cfg 及 *.tpl ,去搜尋檔案內有image的路徑將它修改成你外連的路徑!

發表於 : 2004-11-12 07:16
suicidal
謝謝...我來去試試...

發表於 : 2004-11-21 17:08
suicidal
請問 cfg 檔案中的
$current_template_images = $current_template_path . "/images";
//
// Default Avatar MOD
//
$images['default_avatar'] = "$current_template_images/no_avatar.gif";
$images['guest_avatar'] = "$current_template_images/guest_avatar.gif";

$images['icon_quote'] = "$current_template_images/{LANG}/icon_quote.gif";
$images['icon_edit'] = "$current_template_images/{LANG}/icon_edit.gif";
$images['icon_search'] = "$current_template_images/{LANG}/icon_search.gif";
$images['icon_profile'] = "$current_template_images/{LANG}/icon_profile.gif";
.
.
.

請問這段連結中的$current_template_images = $current_template_path . "/images";要如何修改動應外連的資料夾!?

例如 http://www.pchome.com.tw/cool/123/123/images/

我將網址覆蓋結果會顯示程式錯誤...想請求正確的改法...係謝..

發表於 : 2004-11-21 17:11
suicidal
找到答案了

$current_template_images = "http://www.pchome.com.tw/cool/123/123/images/";

發表於 : 2004-11-21 17:13
suicidal
找到答案了
$current_template_images = "http://www.pchome.com.tw/cool/123/123/images/";

尋找 phpbb2/images/ 外連改法中...

請問有沒有人知道如何修改phpbb2/images的預設連結路徑呢...
底下好像有 個人頭像.笑臉...