1 頁 (共 1 頁)

[問題]]Resize Posted Images Based on Max Width 的問題[找到解決方法]

發表於 : 2005-04-08 08:54
stric
問題外掛及版本:Resize Posted Images Based on Max Width 2.4.5
外掛的下載網址:http://starryhometown.net/forum/viewtopic.php?t=522
phpbb版本: phpBB 2.0.13
外掛問題描述:
安裝這個mod後出現怪怪的現象
如下圖所示 左下角出現"網頁錯誤" 且沒有縮圖效果
圖檔


請問這大概是那邊有問題產生呢\r
要怎麼解決呢?

發表於 : 2005-04-09 01:42
tseesther
我裝過也是沒有效果的

發表於 : 2005-04-09 12:28
stric
找到解決的方法囉
果然如天霜兄所說是在overall_header.tpl and simple_header.tpl
因為我用的風格是Morpheus
我想大概只要不能用的話 應該都是和風格有關
但不知道修正方法是不是都一樣\r
我跑到作者的網站問
我照著改 就可以囉 :mrgreen:
他回答如下:

代碼: 選擇全部

The MOD uses the value of {T_BODY_LINK} for the color of the border: 
Code: 

var rmw_border_1 = '1px solid {T_BODY_LINK}'; 
var rmw_border_2 = '2px dotted {T_BODY_LINK}'; 
 

Look at what your board outputs for this value: 
Code: 

var rmw_border_1 = '1px solid #'; 
var rmw_border_2 = '2px dotted #'; 
 


Simply hardcode overall_header.tpl and simple_header.tpl and put the color that you want: 
Code: 

var rmw_border_1 = '1px solid #00BFFF'; 
var rmw_border_2 = '2px dotted #00BFFF'; 
 

Here's a page to choose: 
http://www.qindex.info/Q_drctry/webtools/colors.php 

IE aborts when a script has an error (invalid value for the color) and Firefox continues. That's why IE doesn't resize and Firefox resizes but doesn't put any border. 

And if you don't want any border for the images, simply put 0 as the values. Don't forget the single quotes. The value for border is not an integer but a string: 
Code: 

var rmw_border_1 = '0'; 
var rmw_border_2 = '0'; 

發表於 : 2005-08-31 22:54
死狐狸
我的也是沒有效果.............

沒有錯誤訊息,而且我是裝在subsilver上的!!
難道Resize_Posted_Images_Based_on_Max_Width不相容於2.0.17嗎?
(還是說他有後台控制可是我沒發現@@)