Shiba Media Library 3.7

The main addition to this release is an expansion on the media manager search interface-

  • Posts, pages, and custom post types can now be searched for and added into galleries from the media manager interface.
  • Image search is performed based on title as well as alt text.

Shiba Media Library was tested on WordPress 3.5 and 3.6.

[Full description of the Shiba Media Library]

1. Expanded Media Manager Search

Below is a screen show of the expanded media manager gallery interface, showing search filters based on posts, pages, galleries, and other supporting custom post types.

For example, in the screen shot below, I just did a post search for ‘shiba media library’, selected the first twelve posts, and created a gallery from them.

Here is the resulting gallery rendered using noobslide_nativex2 in the Shiba Gallery Plugin.

To add a custom post type to the media manager gallery interface, simply add ‘shiba-mlib’ into the supports list during the register_post_type function call.

In addition to expanded post type searches, we also expanded image searches to include title and alt text. Previously, searches were only performed based on title.

Here is a tutorial on how I expanded the media manager interface.

2. Number of Posts Containing a Given Image

We can now show the number of posts containing a given image in the Media >> Library screen.

Clicking on the numbered posts link will show us the actual posts containing the image.

Currently, images included in galleries are *not* counted. We only count images that are directly inserted into the post content. Note that enabling this option will increase load time of the Media >> Library page.

3. New Options/Settings Page

The Galleries >> Options page has been given a face-lift. In addition, we can enable or disable all of the functions described above.

Related Articles


  1. Tahir says

    Do not know if this has been reported. In WP 3.8 fresh install , When you press ‘Upload & Attach Images’ button and in the Gallery manager frame select image+posts+pages and press ‘Update’ Button it shows up the images,post and pages in the drop down list . But if you again press the ‘Upload & Attach Images’ Only the images show up in the Media Manager Frame, The post and page are gone . Also i would like to talk some more and share some other ideas, Maybe i could buy you some coffee 🙂 . Thanks

  2. ben says

    not working on a clean installation of wordpress 3.8.
    no other plugins installed.

    here is error:

    Warning: Creating default object from empty value in E:\wamp_www\shiba\wp-content\plugins\shiba-media-library\shiba-media-library.php on line 200
    Call Stack
    # Time Memory Function Location
    1 0.0023 422440 {main}( ) ..\plugins.php:0
    2 0.0033 491168 require_once( ‘E:\wamp_www\shiba\wp-admin\admin.php’ ) ..\plugins.php:10
    3 0.4220 20412552 do_action( ) ..\admin.php:150
    4 0.4312 20607016 call_user_func_array ( ) ..\plugin.php:429
    5 0.4312 20607048 Shiba_Media_Library->admin_init( ) ..\plugin.php:429

  3. Gabriel says

    I would LOVE this plugin if would be possible to create a dynamic Gallery based on Media-Tags. I know, upload the image with Tags and shows up in the galleries with those tags!

Leave a Reply

Your email address will not be published.