Shiba Media Library 3.3

The main addition to this update is the ability to order images within gallery objects.

Shiba Media Library was tested on WordPress 3.2.

[Full description of the Media Library Plugin]

Order Images Within Gallery Objects

We may now easily reorder images within a Gallery object. Simply drag the image that you want to reorder and drop it at its new position.

Once you are done, don’t forget to click on the Save or Update button to save your changes.

One Image Position for Each Image

The new image positions are saved using the menu_order native WordPress attribute. WordPress only allows one menu_order value per image object.

As a result, if we attach an image to multiple galleries using tags, only the last or most recent image position will be saved.

For example, I have included Artist-Picture7 into the two galleries above.

  • In Test Gallery-1, I positioned the image at the top of the gallery.
  • In Test Gallery-2, I positioned the image at the bottom of the gallery.

In the resulting galleries, Artist-Picture7 appears at its last saved position – which is at the bottom.

Multiple Image Positions

Because of the limitations described above, we also added a new way to save multiple image positions. However, since this new feature is not a WordPress standard, it will only work with front-end gallery plugins that specifically support it.

For example, the Shiba Gallery Plugin supports this multiple position feature. Instead of using orderby=menu_order in my gallery shortcode, I use orderby=shiba_menu_order.

Now, Artist-Picture7 appears at the top of Test Gallery-1 which is where it should be.

Change Default Gallery Object Shortcode

We may now change the gallery shortcode used when viewing a Gallery object. Simply go into Galleries >> Options to change the default shortcode and set whether descriptions should appear on your Gallery page.

Related Articles

Comments

  1. says

    Hi, I am using Core Minimalist theme (from Theme Forest) on a friend’s site which installs with Shiba Media Library 3.3. I need to figure out how to do overlays on the images (hover on gallary page and when clicking though flow slideshow). Overlay needs to contain information about the image and hypertext link. Are you available for consulting? …this is over my head. If so, let me know how much you would charge or what your rates are. Thanks so much.

  2. John Gorentz says

    Is this still supposed to be working with Gallery 4.3? I am able to reorder images when I edit a gallery; however, it has absolutely no effect on the order in which photos are displayed, whether my shortcode is like [gallery … orderby=”menu_order” or [gallery … orderby=”shiba_menu_order”.

    • ShibaShake says

      Ordering is done right in the Edit Gallery screen and *not* in the media manager pop-up. Why? This is because the Edit Gallery screen includes all images in the gallery including those added by tags. The media manager pop-up is for selecting images only.

      I will look into disabling ordering functionality in the media manager so that it is less confusing.

      • John Gorentz says

        I am confused. There is no facility under “Galleries…Edit” to reorder the images – at least none that I can see.

          • says

            Greetings. Like the other gentleman, I’ve been trying to reorder images which for some reason come up in reverse order when I create my gallery. I was able to drag and drop but I had 119 images in my clients folder. That was a LOT of drag and dropping. Is there another way? I choose your plug in over nextgen because I liked it better but this issue is annoying. Any help would be appreciated. Thanks.

            Mel

  3. says

    Hi, I’m trying to add a gallery to a page. The gallery is working fine but keeps including every image from my media library even though I go through the process of selecting the appropriate images every time it shows all my uploaded images? Am I doing something wrong?

    Many thanks
    EH

    • says

      When you go to the Edit Gallery screen, do you see the correct images? If so, what gallery shortcode are you using?

      Do you have any tags in the gallery?

  4. anthony says

    the drag and drop to reorder the images in a gallery doesnt seem to work anymore on wordpress 3.5.1?
    Do you have any idea why ? or how to fix it ?
    Thanks
    antoine

    • says

      The reordering works fine for me on this site and on my test sites (3.5.1). However, note that you have to do the reordering on the main Edit Gallery screen and not on the javascript upload images pop-up (i.e. the media manager popup).

  5. Randy says

    Is this the same as this plugin — (discontinued on WordPress) – http://wordpress.org/extend/plugins/media-library-gallery/

    All I’m looking for is a simple plugin that gives me a gallery view of my media library, with nothing fancy, and no installation or runtime hassles.

    Every few days I take a photograph, process it on my local system, write a blog entry about it and insert it into that post using WP (which, of course, automatically inserts it into my media library).

    All I want the piugin to do is pull everything from media gallery when the user views the page with the plugin shortcode in it, with no extra work from me. Ie, I write my post, upload the pic, and the plugin has an updated view without me touching anything.

    Is this the plugin for me, or am I smoking something. The info on this site is unclear as to how it actually works. TIA.

    • says

      Is this the same as this plugin — (discontinued on WordPress) – http://wordpress.org/extend/plugins/media-library-gallery/

      No.

      If you want to show all the pictures attached to a particular post, then all you need to do is insert the [gallery] shortcode within the post and WP native will automatically pull all the associated images. You don’t need any special plugin for this.

      If you want to show all the pictures in your media library in a single very large gallery, then that is not really the purpose of Shiba Media Library. I would look for a different plugin.

  6. Darren says

    I installed Media Library on wp v3.3.1. and got this error (which starts a chain of other errors) when opening the Media Library page.

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘upload_columns’ not found or invalid function name in /home/alien670/public_html/wp-includes/plugin.php on line 170.

    I deactivated and uninstalled the plugin but I still get the error. Can you make any suggestions on how to fix this.

    Many Thanks

    • Darren says

      Sorry. My bad. I found an error I made when editing functions.php that caused the problem. Nothing to do with the plugin. I did find that the options “shiba_mlib_options” and “gallery_structure” were still in the wp_options table after I unstalled/deleted the plugin.

      I thought I had used this plugin before to attach an image to more than one page. Is that possible or am I just imagining that I did it?

      Many Thanks

      • says

        Hello Darren,

        I don’t delete the database options entries because to update the plugin, one has to first delete the plugin, and it would be annoying to have to reset plugin status across updates.

        I thought I had used this plugin before to attach an image to more than one page. Is that possible or am I just imagining that I did it?

        This can be done with the tag functionality. It is described in the main plugin page under “The Power of Galleries and Tags” -
        http://shibashake.com/wordpress-theme/media-library-plus-plugin

  7. Hakuna says

    first i need to say, really amazing plugin! But i got one Problem, i dont know since when but im not able to sort the images anymore. i can drag and drop them in the right order but when i hit the save button all changes are gone… im running the latest wordpres version 3.3.1
    any ideas how to solve this? thanks!

      • Hakuna says

        I am sorry I don’t really get what you mean by published. Since I can only upload images and then sort them when the gallery is already published that doesn’t really make sense to me. Do you mean I would have to upload images, click the “update” button and then start sorting ? (I actually tried that as well and doesn’t work) My comon way is to click “Galleries” -> “Add New” -> enter a gallery title -> click “Publish” -> Add New -> upload Images -> sort them -> click “Update”… Could you please explain? thank you so much.

        • says

          Images can be loaded when the gallery is saved as draft, but still unpublished.

          I just tested the ordering save on my own install and it seems to be working. What version of the plugin are you using? It could also be a conflict with another plugin or theme. I would see what happens on a test site using 2010 and just the one plugin turned on.

  8. says

    I’m trying to get the Fotomoto plug-in to work (it’s a sales tool) with the shiba media library but it doesn’t want to co-operate. I don’t know if it’s a theme issue or library issue, it won’t allow vertical orientation images to be cropped properly. Any thoughts?

    • says

      Hmmm, the plugin shouldn’t affect cropping functionality. Try turning off the plugin and see what happens.

      I usually have a test site where I use the Twenty Ten theme, and turn off all plugins. In this way, I can test out new plugins first, and then slowly turn on plugins one by one, so that I can pinpoint where the issue is.

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>