
內容簡介
為你的媒體庫增加功能:
使用分類組織媒體檔案
添加支援 PDF 和文檔的 MIME 類型
調整 JPEG 的品質百分比(從 0 到 100),增加圖片的品質
裁剪和調整上傳的圖像大小
增加更多文件類型的支援(文檔、試算表、影片、音訊、Flash、ZIP(壓縮檔)和更多圖片類型)
支援 PDF 和所有類型的文檔組織
常見支援的檔案類型:
圖像:jpg、jpeg、png、gif、tiff、wpmb、svg、swf(Flash)
文件:pdf、doc、docx、wri、rtf、xls、xlsx、ppt、pptx 和所有 OASIS OpenDocument 標準的擴展名
文本:txt、csv、plain、HTML、XML、CSS、…
影片:asf、wmv、avi、mov、qt、mpg、mpeg、mp4、…
音訊:mp3、m4a、ra、ram、wav、ogg、midi、wma、…
壓縮檔案:zip、rar、7z、iso、img、tar、gz、deb、rpm、…
通用:mo、po、fla、ttf、woff、bmp、ico、…
只需安裝此外掛並根據您的需求進行調整。
提供的自訂 Hooks
此外掛提供 2 個自定義過濾器:
1) 更改傳遞給 register_taxonomy 函數的標籤和其他引數:
add_filter( 'media_category_args', 'my_media_category_args' );
2) 用於編輯單個檔案信息的類別發佈框 HTML 中的 Hooks:
add_filter( 'media_category_html', 'my_media_category_html' );
推薦使用這些 Hooks,因此,如果禁用了插件,那麼這些 Hooks 就不會再被調用,這樣可以保持一致性和清潔。
想要將其翻譯成您的語言嗎?只需在論壇的「翻譯」主題中回覆即可。
外掛標籤
開發者團隊
原文外掛簡介
Add functionalities for your media library:
Organize media files with categories
Add PDF and Document mime types support
Adjust JPEG quality percentage (from 0 to 100) thus increase image quality
Crop and resize uploaded images
Add more file types support (documents, spreadsheets, video, audio, flash, ZIP (packages) and more image types)
Support for PDF and all type of documents organization
Common Supported file extensions:
Images: jpg, jpeg, png, gif, tiff, wpmb, svg, swf (flash)
Documents: pdf, doc, docx, wri, rtf, xls, xlsx, ppt, pptx, and all OASIS OpenDocument standard extensions
Text: txt, csv, plain, HTML, XML, CSS, …
Video: asf, wmv, avi, mov, qt, mpg, mpeg, mp4, …
Audio: mp3, m4a, ra, ram, wav, ogg, midi, wma, …
Packages: zip, rar, 7z, iso, img, tar, gz, deb, rpm, …
Generic: mo, po, fla, ttf, woff, bmp, ico, …
Just install this plugin and adjust to your needs.
Provided Custom Hooks
This plugin provides 2 custom filters:
1) Change labels and other arguments passed to register_taxonomy function:
add_filter( ‘media_category_args’, ‘my_media_category_args’ );
2) Hooks inside the category postbox HTML used to edit individual file information:
add_filter( ‘media_category_html’, ‘my_media_category_html’ );
The use of these hooks are recommended, thus, if the plugin gets deactivated, those hooks will not be called anymore and then you get things consistent and clean.
Do you want to translate it to your language? Just reply to the «Translations» topic in the forum.
