●架設主機作業系統:WindowsXP SP2
●快速架站程式:Appserv2.45
●您的上網方式:區域網路
●您安裝的程式:appserv2.45 easymod 0.3 Resize_Posted_Images_Based_on_Max_Width
●您的 phpBB2 版本:phpBB 2.019
自動縮圖的功能一切正常
不過如果附加檔案是動畫的gif
自動縮圖的功能就會把圖片放到大很難到的地步
所以會破壞版面\r
請問大家這該從哪個檔案去修改呢?
還請各位前輩指教
謝謝
[問題]自動縮圖功能的問題
版主: 版主管理群
Re: [問題]自動縮圖功能的問題
請恕我" 斷章取義", 這句話有點難懂?bigratx 寫: 自動縮圖的功能就會把圖片放到大很難到的地步
因為我並無安裝此外掛的經驗,
所以尚無法判斷是否預設, 無法對 *.gif 圖檔自動縮圖?
建議您:
0. 貼出外掛參考( 下載) 連結
1. 貼出論壇網址
2. 貼出測試的文章連結
必要時, 請提供測試帳號與密碼
小弟提供的下載點:
http://www.5819375.idv.tw/phpbb2/download.php?id=17154
放置位置:
http://www.5819375.idv.tw/phpbb2/viewtopic.php?p=38196
在這裡下載的:
MOD Title: mw3 (Prevent Any Layout From Being Broken)
MOD Version: 1.1.0 alpha
http://www.christianfecteau.com/echo/mw ... _alpha.zip
http://www.5819375.idv.tw/phpbb2/download.php?id=17154
放置位置:
http://www.5819375.idv.tw/phpbb2/viewtopic.php?p=38196
在這裡下載的:
MOD Title: mw3 (Prevent Any Layout From Being Broken)
MOD Version: 1.1.0 alpha
http://www.christianfecteau.com/echo/mw ... _alpha.zip
3Q!!過山雲 寫:小弟提供的下載點:
\nhttp://www.5819375.idv.tw/phpbb2/download.php?id=17154
放置位置:
http://www.5819375.idv.tw/phpbb2/viewtopic.php?p=38196
在這裡下載的:
MOD Title: mw3 (Prevent Any Layout From Being Broken)
MOD Version: 1.1.0 alpha
http://www.christianfecteau.com/echo/mw ... _alpha.zip
我也順勢推薦另外一個好用的縮圖外掛 img標籤自動縮圖+點擊放大
( 感謝 蒼浩 大大分享)
只要修改一個檔案( 風格/bbcode.tpl) 即可.
http://phpbb-tw.net/phpbb/viewtopic.php?p=145653#145653
我是用捕手老師推薦這個, 感覺很好, 衹是我想改把圖片盡量放大至整篇文章範圍.
怎樣試都不行, 同時衹對寬度有反應, 對高度沒反應的.
.
怎樣試都不行, 同時衹對寬度有反應, 對高度沒反應的.
.
舊站台經已結朿了, 學生們可到遊戲站玩玩 Flash Game (不必註冊) 免費 Flash Game
在此學到很多架站知識, 永遠多謝:
心靈捕手老師, ~倉木麻衣~, 依夢兒 及 神川小羽各位大大相助
在此學到很多架站知識, 永遠多謝:
心靈捕手老師, ~倉木麻衣~, 依夢兒 及 神川小羽各位大大相助
請教一下
安裝了過山雲兄推薦的MW3縮圖外掛,
過程相當容易簡單,
比較困惑的是,滑鼠指向可放大的圖片時(已縮圖),
停留後會出現提示,
該提示為原圖原始路徑。
該修改哪部分?才能改為『點圖觀看原圖』,而非出現圖檔原始路徑?
安裝了過山雲兄推薦的MW3縮圖外掛,
過程相當容易簡單,
比較困惑的是,滑鼠指向可放大的圖片時(已縮圖),
停留後會出現提示,
該提示為原圖原始路徑。
該修改哪部分?才能改為『點圖觀看原圖』,而非出現圖檔原始路徑?
代碼: 選擇全部
##############################################################
## MOD Title: mw3 (Prevent Any Layout From Being Broken)
## MOD Author: spooky2280 < webmaster@christianfecteau.com > (Christian Fecteau) http://portfolio.christianfecteau.com/
## MOD Description: This MOD uses DHTML to check if posts contain anything that would cause
## your layout to be larger than its normal width, and if so, it adds an
## horizontal scrollbar under the message and/or resizes large images to
## fit into the normal intended width for the layout. See the MOD in action: http://christianfecteau.com/mw3d
##
## MOD Version: 1.1.0 alpha
##
## Installation Level: Easy
## Installation Time: 5 Minutes (1 minute with EasyMod: http://sourceforge.net/projects/easymod/ )
##
## Files To Edit: 5
## posting.php
## privmsg.php
## viewtopic.php
## includes/topic_review.php
## includes/page_tail.php
##
## Included Files: 1
## templates/mw3.js
##
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
##############################################################
## Author Notes:
##
## For an 'AFTER, ADD' statement, the code has to be added
## BELOW the last line quoted in the 'FIND' statement.
## (Do not confuse with an IN-LINE AFTER, ADD)
##
## For a 'BEFORE, ADD' statement, the code has to be added
## ABOVE the first line quoted in the 'FIND' statement.
## (Do not confuse with an IN-LINE BEFORE, ADD)
##
## You can double-click on a message if it has a crosshair cursor:
## This pops up the message alone in a new maximized window.
##
## You can single click on an image if it has a pointer cursor:
## This pops up the image alone and full size in a new maximized window.
##
## The MOD is supposed to work with IE5+, NN7.1+, Firefox, and Opera7+
## The script detects and allow browsers to run the MOD if they support it.
##
## The MOD is supposed to work with almost all templates. The MOD is
## know to fail with IE5+ and the chairs template. But the script detects
## that the MOD won't work and it terminates without changing the layout
## and without javascript errors. The MOD is currently distributed with
## the debug mode enabled by default. So if the MOD doesn't work with a
## particular template, an alert is outputted with a custom message about
## where in the script it was detected that the MOD wouldn't work. If you
## get these alert messages, please write them down and report them.
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## Credits must be given with my full name (Christian Fecteau)
## and a link to my portfolio: http://portfolio.christianfecteau.com/
##
## Removal or alteration of this notice is strongly prohibited.
##
##############################################################
## MOD History:
##
## 2005-09-29 - Version 1.1.0 alpha
## - Released upon demands for Mac support:
## http://www.christianfecteau.com/mw3/viewtopic.php?p=238#238
## - Added Safari and IE5Mac support - some features are
## still missing like with Safari, the opening alone in
## a new window of an overflowed post upon double-click.
## - Tested with phpBB 2.0.17 and EasyMOD Beta v0.2.1a
##
## 2005-02-22 - Version 1.0.1
## - Code adapted to phpBB 2.0.12
## - Debug mode is now off by default
##
## 2005-02-14 - Version 1.0.0
## - After thourough testing, the MOD fails with only 5 styles
## from phpBB:
## - chairs (in IE);
## - Esbardu (in Opera);
## - lifecod (in IE and Opera);
## - phpBBLite;
## - JustFooty.
## Everything will be done to fix these styles in the next
## release but it will probably involve editing of tpl
## and css files for these styles, as well as the MOD may
## require editing of tpl and css files for modded boards.
## It is a case per case analysis when the MOD fails
## with a specific board.
## A special thanks to Adam who has tested over 120 styles
## with both Opera 7.54 and Firefox 1.0
##
## 2005-01-19 - Version 0.1.0
## - First release, alpha
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ COPY ]------------------------------------------
#
copy templates/mw3.js to templates/mw3.js
#
#-----[ OPEN ]------------------------------------------
#
posting.php
#
#-----[ FIND ]------------------------------------------
#
# around line 710
#
'MESSAGE' => $preview_message,
#
#-----[ IN-LINE FIND ]------------------------------------------
#
=>
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
'<q style="display:none"></q>' .
#
#-----[ OPEN ]------------------------------------------
#
privmsg.php
#
#-----[ FIND ]------------------------------------------
#
# around line 626
#
'MESSAGE' => $private_message,
#
#-----[ IN-LINE FIND ]------------------------------------------
#
=>
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
'<q style="display:none"></q>' .
#
#-----[ FIND ]------------------------------------------
#
# around line 1590
#
'MESSAGE' => $preview_message,
#
#-----[ IN-LINE FIND ]------------------------------------------
#
=>
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
'<q style="display:none"></q>' .
#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php
#
#-----[ FIND ]------------------------------------------
#
# around line 1171
#
'MESSAGE' => $message,
#
#-----[ IN-LINE FIND ]------------------------------------------
#
=>
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
'<q style="display:none"></q>' .
#
#-----[ OPEN ]------------------------------------------
#
includes/topic_review.php
#
#-----[ FIND ]------------------------------------------
#
# around line 198
#
'MESSAGE' => $message,
#
#-----[ IN-LINE FIND ]------------------------------------------
#
=>
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
'<q style="display:none"></q>' .
#
#-----[ FIND ]------------------------------------------
#
# around line 224
#
includes/page_tail
#
#-----[ BEFORE, ADD ]------------------------------------------
#
echo '<script type="text/javascript" src="' . $phpbb_root_path . 'templates/mw3.js"></script>' . "\n";
echo '<script type="text/javascript"><!--' . "\n";
echo 'window.topr = true;' . "\n";
echo '//--></script>';
#
#-----[ OPEN ]------------------------------------------
#
includes/page_tail.php
#
#-----[ FIND ]------------------------------------------
#
# around line 31
#
$admin_link =
#
#-----[ AFTER, ADD ]------------------------------------------
#
// start mw3 MOD
$admin_link .= '<script type="text/javascript" src="' . $phpbb_root_path . 'templates/mw3.js"></script>';
// fin mw3 MOD
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM