Image / Image Exact Sizes vs. Imagefield / ImageCache

很棒的圖片相關模組比較文章:
Lullabot - Image and Image Exact Sizes vs. Imagefield and ImageCache

把比較表貼上:
Image, Image Attach & Image Exact Sizes imagefield & imagecache
每個圖片都是一個節點 把圖片儲存為檔案,非內容節點
可用在每種內容類型。 只能用在 CCK。
每個節點只能有一個圖片。 每個節點可有多個圖片。
所設定的圖片大小會影響到整個網站的圖片節點。 可以選擇圖片要使用哪些規則。
會替每種圖片尺寸產生對應的檔案。 直接生成對應的大小(無實際檔案)。
只支援圖片大小縮放功能。 支援縮放與裁剪功能。
使用容易;自動完成所有工作。 需要自己做版型。
檔案目錄可在網站根目錄之外。 檔案目錄需在網站根目錄之內。
整合 Views 模組;可選擇想要顯示的檔案大小。 整合 Views 模組;可選擇想要顯示的檔案大小。
jimmy 的照片

這樣看起來.. Image,

這樣看起來..

Image, Image Attach & Image Exact Sizes
適合相簿,拿來專門做照片瀏覽,或是portfolio的蒐集

imagefield & imagecache
則適合做新聞文章,有圖說的出版等等~
image field一文可以多圖,可以善加利用來排版。

alkwo1206 的照片

Re: Image / Image Exact Sizes vs. Imagefield / ImageCache

aa但是我現在有一個問題,就是用image attach只能放一個image file
是因為我也開了image field的關係嗎?

charlesc 的照片

Re: Image / Image Exact Sizes vs. Imagefield / ImageCache

應該是原本就只能放一張圖吧~

Note that currently, image_attach only supports attaching one image per node.

RSS feed