小弟安裝了「attach_mod」外掛後,又想使用其縮圖功能,爬文後的結果是知道有兩種縮圖法,一種是使用「GD2 的 Extension」,另一種是使用「ImageMagick」,但兩種我方式我都沒有成功過,不知道那裡設錯了,以下有幾個疑問請教各位前輩...
1、兩種方法是否都需要在「files」資料夾下另設一個「thumbs」資料夾,並把「上傳資料夾」路徑指到thumbs裡?
2、我將「ImageMagick」安裝在c的根目錄下,已避開預設值會安裝在「Program Files」下而使得有空白導至錯誤情況,在「Imagick 縮圖程式 (完整路徑)」也已設「C:/ImageMagick/convert.exe」,但還是沒作用。
3、「viewtopic」資料夾有需要自行建立嗎?這個是在「GD2 的 Extension」的方式下才需要的嗎?
小弟偏向於使用「ImageMagick」,如果有前輩肯教導小弟,儘量以「ImageMagick」的方法
我的安裝環境為:win xp/phpbb版本是2.0.20/attach mod版本為2.4.1/ImageMagick版本為6.2.7-4-Q8
感恩...
[問題] 請教各位前輩有關縮圖的問題...
版主: 版主管理群
1. 兩種方法都不必 '另設一個「thumbs」資料夾'.
2. 建議您:
參考這篇文章, 檢視您的控制台設定.
http://phpbb-tw.net/phpbb/viewtopic.php?p=204182#204182
3. 看不懂, 為何有需要設 '「viewtopic」資料夾'?
建議您:
1. 貼出論壇網址
2. 提供測試用帳號與密碼
2. 建議您:
參考這篇文章, 檢視您的控制台設定.
http://phpbb-tw.net/phpbb/viewtopic.php?p=204182#204182
3. 看不懂, 為何有需要設 '「viewtopic」資料夾'?
建議您:
1. 貼出論壇網址
2. 提供測試用帳號與密碼
[問題] 謝謝!
感謝心靈捕手前輩,您的那篇文章我在問題前就拜讀過了,問題發生時,照著您指導的設定方法還是沒辦法,最後我是把「ImageMagick」再安裝一次就好了,可能是程式沒安裝完全吧,不過問題已解決,真是不好意思!
「viewtopic」資料夾是我有爬文,有人說這資料夾是放縮圖用的,所以才想是不是沒建這資料夾導至縮圖沒地方放,所以失去這功能!
能再請教一個問題嗎?「ImageMagick」這支程式有沒有linux版的啊,小弟我目前是在win環境下測試並玩玩,到最後還是要移到linux上的...謝謝!
「viewtopic」資料夾是我有爬文,有人說這資料夾是放縮圖用的,所以才想是不是沒建這資料夾導至縮圖沒地方放,所以失去這功能!
能再請教一個問題嗎?「ImageMagick」這支程式有沒有linux版的啊,小弟我目前是在win環境下測試並玩玩,到最後還是要移到linux上的...謝謝!
Re: [問題] 謝謝!
它是自由軟體, 應該是可以適用 (主流) 不同的作業系統.wezly 寫: 能再請教一個問題嗎?「ImageMagick」這支程式有沒有linux版的啊,小弟我目前是在win環境下測試並玩玩,到最後還是要移到linux上的...謝謝!
Source: http://www.imagemagick.org/script/index.phpImageMagick is free software delivered with full source code and can be freely used, copied, modified and distributed. Its license is compatible with the GPL. It runs on all major operating systems.
抱歉! 個人並沒有使用 'linux' 的經驗.
不過, 它有提供原始碼的下載, 裡頭也有各種作業系統的安裝說明.
http://sourceforge.net/project/showfile ... p_id=24099
這個說法有誤.心靈捕手 寫:1. 兩種方法都不必 '另設一個「thumbs」資料夾'.
如果您在控制台設定 '副檔名' -> '特殊類別' -> '建立縮圖' 時候, 有按下 '測試設定',
那麼才會在資料夾 /files/ 底下, 自動建立一個資料夾 /thumbs/.
否則, 還是得自行建立此資料夾.
Source: 外掛 docs/user_guide.html 檔.7.6 How to get Thumbnails working
The ability to create Thumbnails are only given to the Special Category 'Images'.
Therefore you have to assign this Category to an Extension Group first.
After you have assigned the Special Category 'Images' to one (or more) Extension Groups within the Administration Panel -> Extension Groups Management Screen you have to go to Administration Panel -> Special Categories.
Enable the Option to Create Thumbnails. Additionally, set the Image Link Dimensions to 0x0 if you don't want to present Links to your Image if they are greater than the defined size you have entered there.
The last Step is to Test the Thumbnail Settings. The Test Process will create the necessary Directory too.
You should also search for the ImageMagick program if you are unable to recall the correct path to the program.
Please make sure the path to imagemagick does not contain Spaces. (for example 'program files' <- there is a space within the directory name, this will not work)
If you do not see the Options for Thumbnails the Attachment Mod detected that you are not able to create Thumbnails, therefore it was disabled.

