Linux 软件免费装
Banner图

Media Library Assistant

开发者 dglingren
更新时间 2025年2月17日 04:13
捐献地址: 去捐款
PHP版本: 5.3 及以上
WordPress版本: 6.7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

tags media categories images media library

下载

3.15 3.19 3.23 3.03 3.24 1.81 1.82 1.83 1.93 1.94 2.00 2.02 2.12 2.13 2.14 2.83 2.84 1.71 3.20 1.20 1.70 1.95 2.94 2.97 2.65 1.51 2.32 2.93 3.05 0.20 0.60 3.10 3.21 2.10 2.33 2.53 2.96 0.70 1.10 1.61 2.82 2.95 3.04 0.50 3.01 0.30 2.11 3.06 3.09 1.41 2.01 2.40 2.74 0.40 0.71 1.14 2.50 2.72 1.60 3.12 2.51 2.92 3.13 1.30 2.15 2.24 2.61 0.1 0.11 0.41 0.80 0.90 1.13 1.43 2.22 2.98 3.07 1.80 1.90 1.92 1.91 0.81 1.00 2.79 2.90 3.18 3.16 1.52 2.21 2.25 2.75 3.17 1.11 1.42 2.31 2.41 2.54 2.60 2.73 2.77 2.78 2.80 1.50 2.62 2.70 1.40 2.81 2.99 3.22

详情介绍:

The Media Library Assistant provides several enhancements for managing the Media Library, including: The Assistant is designed to work like the standard Media Library pages, so the learning curve is short and gentle. Contextual help is provided on every new screen to highlight new features. NOTE: Complete documentation is included in the Documentation tab on the Settings/Media Library Assistant admin screen and the drop-down "Help" content in the admin screens. You can find a stand-alone version of the Documentation on my web site: Media Library Assistant Documentation I do not solicit nor accept personal donations in support of the plugin. WordPress and its global community means a lot to me and I am happy to give something back. If you find the Media Library Assistant plugin useful and would like to support a great cause, consider a tax-deductible donation to our Chateau Seaview Fund at the ALS Network. Every dollar of the fund goes to make the lives of people with ALS, their families and caregivers easier. Thank you!

安装:

  1. Upload media-library-assistant and its subfolders to your /wp-content/plugins/ directory, OR Visit the Plugins/Add New page and search for "Media Library Assistant"; click "Install Now" to upload it
  2. Activate the plugin through the "Plugins" menu in WordPress
  3. Visit the Settings/Media Library Assistant page to customize taxonomy (e.g., category and tag) support
  4. Visit the Settings/Media Library Assistant Custom Fields and IPTC/EXIF tabs to map metadata to attachment fields
  5. Visit the "Assistant" submenu in the Media admin section
  6. Click the Screen Options link to customize the display
  7. Use the enhanced Edit, Quick Edit and Bulk Edit pages to assign categories and tags
  8. Use the [mla_gallery] shortcode to add galleries of images, documents and more to your posts and pages
  9. Use the [mla_tag_cloud], [mla_term_list] and [mla_custom_list] shortcodes to add clickable lists of taxonomy terms and custom field values to your posts and pages

屏幕截图:

  • The Media/Assistant submenu table showing the Bulk Edit area with taxonomy Add, Remove and Replace options; also shows the tags suggestion popup.
  • A typical edit taxonomy page, showing the "Attachments" column.
  • The enhanced Edit page showing additional fields, categories and tags.
  • The Settings page General tab, where you can customize support of Att. Categories, Att. Tags and other taxonomies, where-used reporting and the default sort order.
  • The Settings page MLA Gallery tab, where you can add custom style and markup templates for `[mla_gallery]` shortcode output.
  • The Settings page IPTC & EXIF Processing Options screen, where you can map image metadata to standard fields (e.g. caption), taxonomy terms and custom fields.
  • The Settings page Custom Field Processing Options screen, where you can map attachment metadata to custom fields for display in [mla_gallery] shortcodes and as sortable, searchable columns in the Media/Assistant submenu.
  • The Media Manager popup modal window showing additional filters for date and taxonomy terms. Also shows the enhanced Search Media box and the full-function taxonomy support in the ATTACHMENT DETAILS area.

升级注意事项:

3.24 IMPORTANT: Reflected Cross-Site Scripting security risks in three example plugins mitigated. Field-level data sources for very large images. REST support for Att. Categories and Att. Tags. Improved processing of the mla_image_class and mla_image_alt parameters. Two enhancements, two fixes in all.

常见问题:

How can I sort the Media/Assistant submenu table on values such as File Size?

You can add support for many attachment metadata values such as file size by visiting the Custom Fields tab on the Settings page. There you can define a rule that maps the data to a WordPress custom field and check the "MLA Column" box to make that field a sortable column in the Media/Assistant submenu table. You can also use the field in your [mla_gallery] shortcodes. For example, this shortcode displays a gallery of the ten largest images in the "general" category, with a custom caption: [mla_gallery category="general" mla_caption="{+caption+}<br>{+custom:File Size+}" meta_key="File Size" orderby="meta_value" order="DESC" numberposts=10]

How can I use Categories, Tags and custom taxonomies to select images for display in my posts and pages?

The powerful [mla_gallery] shortcode supports almost all of the query flexibility provided by the WP_Query class. You can find complete documentation in the Settings/Media Library Assistant Documentation tab. A simple example is in the preceding question. Here's an example that displays PDF documents with Att. Category "fauna" or Att. Tag "animal": [mla_gallery post_mime_type="application/pdf" size=icon mla_caption="{+title+}" tax_query="array(array('taxonomy'=>'attachment_category','field'=>'slug','terms'=>'fauna'),array('taxonomy'=>'attachment_tag','field'=>'slug','terms'=>'animal'),'relation'=>'OR')"]

Can I use [mla_gallery] for attachments other than images?

Yes! The [mla_gallery] shortcode supports all MIME types when you add the post_mime_type parameter to your query. You can build a gallery of your PDF documents, plain text files and other attachments. You can mix images and other MIME types in the same gallery, too. Here's an example that displays a gallery of PDF documents, using Imagick and Ghostscript to show the first page of each document as a thumbnail: [mla_gallery post_mime_type=application/pdf post_parent=all link=file mla_viewer=true columns=1 orderby=date order=desc]

Can I attach an image to more than one post or page?

No; that's a structural limitation of the WordPress database. However, you can use Categories, Tags and custom taxonomies to organize your images and associate them with posts and pages in any way you like. The [mla_gallery] shortcode makes it easy. You can also use the ids= parameter to compose a gallery from a list of specific images.

Can the Assistant use the standard WordPress post Categories and Tags?

Yes! You can activate or deactivate support for Categories and Tags at any time by visiting the Media Library Assistant Settings page.

Do I have to use the WordPress post Categories and Tags?

No! The Assistant supplies pre-defined Att. Categories and Att. Tags; these are WordPress custom taxonomies, with all of the API support that implies. You can activate or deactivate the pre-defined taxonomies at any time by visiting the Media Library Assistant Settings page.

Can I add my own custom taxonomies to the Assistant?

Yes. Any custom taxonomy you register with the Attachment post type will appear in the Assistant UI. Use the Media Library Assistant Settings page to add support for your taxonomies to the Assistant UI.

Can I use Jetpack Tiled Gallery or a lightbox plugin to display my gallery?

You can use other gallery-generating shortcodes to give you the data selection power of [mla_gallery] and the formatting/display power of popular alternatives such as the WordPress.com Jetpack Carousel and Tiled Galleries modules. Any shortcode that accepts "ids=" or a similar parameter listing the attachment ID values for the gallery can be used. Here's an example of a Jetpack Tiled gallery for everything except vegetables: [mla_gallery attachment_category=vegetable tax_operator="NOT IN" mla_alt_shortcode=gallery type="rectangular"] Most lightbox plugins use HTML class= and/or rel= tags to activate their features. [mla_gallery] lets you add this tag information to your gallery output. Here's an example that opens PDF documents in a shadowbox using Easy Fancybox: [mla_gallery post_mime_type=application/pdf post_parent=all link=file size=icon mla_caption='<a class="fancybox-iframe fancybox-pdf" href={+filelink_url+} target=_blank>{+title+}</a>' mla_link_attributes='class="fancybox-pdf fancybox-iframe"'] In the example, the mla_caption= parameter turns the document title into a link to the shadowbox display so you can click on the thumbnail image or the caption to activate the display.

Why don't the "Posts" counts in the taxonomy edit screens match the search results when you click on them?

This is a known WordPress problem with multiple support tickets already in Trac, e.g., Ticket #20708(closed defect (bug): duplicate) Wrong posts count in taxonomy table, Ticket #14084(assigned defect (bug)) Custom taxonomy count includes draft & trashed posts, and Ticket #14076(closed defect (bug): duplicate) Misleading post count on taxonomy screen. For example, if you add Tags support to the Assistant and then assign tag values to your attachments, the "Posts" column in the "Tags" edit screen under the Posts admin section includes attachments in the count. If you click on the number in that column, only posts and pages are displayed. There are similar issues with custom post types and taxonomies (whether you use the Assistant or not). The "Attachments" column in the edit screens added by the Assistant shows the correct count because it works in a different way.

How do I "unattach" an item?

Hover over the item you want to modify and click the "Edit" or "Quick Edit" action. Set the ID portion of the Parent Info field to zero (0), then click "Update" to record your changes. If you change your mind, click "Cancel" to return to the main page without recording any changes. You can also click the "Select" button to bring up a list of posts//pages and select one to be the new parent for the item. The "Set Parent" link in the Media/Assistant submenu table also supports changing the parent and unattaching an item.

The Media/Assistant submenu seems sluggish; is there anything I can do to make it faster?

Some of the MLA features such as where-used reporting and ALT Text sorting/searching require a lot of database processing. If this is an issue for you, go to the Settings page and adjust the "Where-used database access tuning" settings. For any where-used category you can enable or disable processing. For the "Gallery in" and "MLA Gallery in" you can also choose to update the results on every page load or to cache the results for fifteen minutes between updates. The cache is also flushed automatically when posts, pages or attachments are inserted or updated.

Do custom templates and option settings survive version upgrades?

Rest assured, custom templates and all of your option settings persist unchanged whenever you update to a new MLA version. You can also back a backup of your templates and settings from the Settings/Media Library Assistant General tab. Scroll to the bottom of the page and click "Export ALL Settings" to create a backup file. You can create as many files as you like; they are date and time stamped so you can restore the one you want later. In addition, you can deactivate and even delete the plugin without losing the settings. They will be there when you reinstall and activate in the future. You can permanently delete the settings and (optionally) the backup files if you are removing MLA for good. The "Uninstall (Delete)" Plugin Settings section of the General tab enables these options.

Are other language versions available?

Not many, but all of the internationalization work in the plugin source code has been completed and there is a Portable Object Template (.POT) available in the "/languages" directory. I don't have working knowledge of anything but English, but if you'd like to volunteer to produce a translation, I would be delighted to work with you to make it happen. Have a look at the "MLA Internationalization Guide.pdf" file in the languages directory and get in touch.

What's in the "phpDocs" directory and do I need it?

All of the MLA source code has been annotated with "DocBlocks", a special type of comment used by phpDocumentor to generate API documentation. If you'd like a deeper understanding of the code, navigate to the MLA phpDocs web page and have a look. Note that these pages require JavaScript for much of their functionality.

更新日志:

3.24 3.23 3.22 3.21 3.20 3.19 3.00 - 3.18 2.90 - 2.99 2.80 - 2.84 2.70 - 2.79 2.60 - 2.65 2.50 - 2.54 2.40 - 2.41 2.30 - 2.33 2.00 - 2.25 1.00 - 1.95 0.11 - 0.90 0.1