Shiba

Adventures in WordPress

  • Home
  • Dog
  • Art
  • Contact
  • WordPress Articles
    • WP Plugins
    • WP Programming
    • WP Admin Panels
    • WP Theme Design
    • WP How-To
    • WP Theme Images
You are here: Home / WordPress Plugin / Shiba Media Library / Shiba Media Library 3.3

Shiba Media Library 3.3

by ShibaShake 31 Comments

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 Shiba Media Library]

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.

Drag the image you want to reorder and drop it at its new position.
Drag the image 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.


Picture-Perfect1

Picture-Perfect2

Picture-Perfect9

Picture-Perfect11


Test Gallery 1


Artist-Picture1

Artist-Picture8

Artist-Picture21

Artist-Picture22

Artist-Picture7


Test Gallery 2

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.


Picture-Perfect1

Picture-Perfect2

Picture-Perfect9

Picture-Perfect11


Test Gallery 1 with orderby=shiba_menu_order

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.

Go into Galleries >> Options to set the default Gallery object shortcode.
Go into Galleries >> Options to set the default Gallery object shortcode.

How to Get Shiba Media Library.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Comments

1 2 Next »
  1. John Gorentz says

    November 4, 2013 at 10:06 pm

    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”.

    Reply
    • ShibaShake says

      November 6, 2013 at 7:58 am

      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.

      Reply
      • John Gorentz says

        November 12, 2013 at 6:09 am

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

      • ShibaShake says

        November 12, 2013 at 8:01 am

        The rows in the Edit Gallery screen should be draggable. Drag and drop to order the images, then Update Gallery.

      • John Gorentz says

        November 12, 2013 at 1:41 pm

        That works. Thanks. I guess I’m too old-school to have guessed that.

      • Mel Gattis says

        November 27, 2013 at 4:42 pm

        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

      • ShibaShake says

        November 28, 2013 at 8:19 am

        To just reverse order of the images you can just use the “order” attribute in the gallery shortcode. The orderby attribute also allows ordering by different attributes.

        http://codex.wordpress.org/Gallery_Shortcode

  2. Ewan Hignett says

    March 26, 2013 at 2:55 am

    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

    Reply
    • ShibaShake says

      March 26, 2013 at 4:11 pm

      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?

      Reply
  3. anthony says

    February 8, 2013 at 5:10 pm

    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

    Reply
    • ShibaShake says

      February 8, 2013 at 5:58 pm

      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).

      Reply
  4. Randy says

    November 25, 2012 at 2:04 pm

    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.

    Reply
    • ShibaShake says

      November 25, 2012 at 2:29 pm

      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.

      Reply
  5. david says

    September 20, 2012 at 7:01 pm

    So where’s the link to the actual plugin? Any chance you make it more prominant?

    Reply
    • ShibaShake says

      September 21, 2012 at 7:08 am

      Download link added. Thanks for letting me know.
      http://shibashake.com/wordpress-theme/shiba-media-library.zip

      Reply
  6. Darren says

    May 18, 2012 at 9:54 pm

    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

    Reply
    • Darren says

      May 18, 2012 at 10:58 pm

      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

      Reply
      • ShibaShake says

        May 31, 2012 at 10:45 am

        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

    February 17, 2012 at 6:30 am

    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!

    Reply
    • ShibaShake says

      February 17, 2012 at 12:25 pm

      Currently the ordering is only saved when the gallery is published. This is something that I plan to fix, but just haven’t had the time.

      Reply
      • Hakuna says

        February 20, 2012 at 6:36 am

        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.

      • ShibaShake says

        February 20, 2012 at 8:09 am

        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. Rick says

    February 14, 2012 at 5:06 pm

    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?

    Reply
    • ShibaShake says

      February 15, 2012 at 7:28 am

      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.

      Reply
  9. pTim says

    November 8, 2011 at 10:55 pm

    @RADARPOS: download link is on the page http://http://shibashake.com/wordpress-theme/media-library-plus-plugin in the large Image “Download Media Library Plugin”.

    Thanks!

    Reply
  10. radarpos says

    October 21, 2011 at 2:13 am

    why i dont see the download link?

    Reply
1 2 Next »

Recent Posts

  • Screenshot of an example article in code view of a modified Gutenberg editor.How to Harness the Power of WordPress Gutenberg Blocks and Combine It with Legacy Free-Form Text
  • Screenshot of the Success, WordPress has been installed page.Migrating Your WordPress Website to Amazon EC2 (AWS)
  • Screenshot of WinSCP for creating a SFTP configuration.How to Set-Up SFTP on Amazon EC2 (AWS)
  • WordPress Gutenberg code view screenshot of this article.How to Prevent Gutenberg Autop from Messing Up Your Code, Shortcodes, and Scripts
  • Screenshot of the Success, WordPress has been installed page.How to Create a WordPress Website on Amazon EC2 (AWS)

Recent Comments

  • Screenshot of the Success, WordPress has been installed page.How to Create a WordPress Website on Amazon EC2 (AWS) (1)
    • Erik
      - Great article. All worked great except for this step:apt install php-mysqlChanging to this fixed it:apt install ...
  • Add Custom Taxonomy Tags to Your WordPress Permalinks (125)
    • Anthony
      - Where does this code go? Like, what exact .php file please?
  • Screenshot of an example article in code view of a modified Gutenberg editor.How to Harness the Power of WordPress Gutenberg Blocks and Combine It with Legacy Free-Form Text (1)
    • tom
      - hi,my experience was like the same, but for me as theme developer the "lazy blocks"(https://wordpress.org/plugins/lazy-blocks/) ...
  • WordPress Custom Taxonomy Input Panels (106)
    • Phil T
      - This is unnecessarily confusing. Why declare a variable with the same name as your taxonomy? Why did you choose a taxonomy ...
  • Create Pop-up Windows in Your WordPress Blog with Thickbox (57)
    • Jim Camomile
      - I have used this tutorial several times and it is one of the few simple and effective ways to add popups with dynamic content, ...

Copyright © 2024 · Genesis Skins by ShibaShake · Terms of Service · Privacy Policy ·