Media Library Gallery

Media Library Gallery automatically creates a gallery with every images posts have in attachment. Support thickbox. To include the gallery in a page, simply write in the post: [media-library-gallery]. You can also customize: see the documentation for more information!

You always tried to easily make a page or a post to display the content of your Media Library but you never found a way to make it?

Media Library Gallery is the plugin you dreamed for! You just have to install it on your own WordPress installation, to select pages and/or posts where you want to include your gallery, and you’re done! More, the plugin is thickbox ready!

Morbleu ! already uses it! Just have a look to their Galerie des Glaces

== Screenshots ==

== Installation ==

  1. Upload the directory media-library-gallery into your /wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Now select the page and/or the post where you want to include your gallery. When you find a room in your page just write something like: [media-library-gallery].
  4. Or use the assistant which should be in the toolbar of you editor!
  5. Then, you can customize:
    • exclude to exclude some attachment posts of the gallery. It works both with posts’id and attachments’ pages’ id!
    • nb determines how many pictures you want for a gallery page. Default is 20.
    • cols determines how many pictures you want for a row. Default is everything on the same row. Depending of your theme, images should be automatically displayed on a new row when there is no more room on the width.
    • tag allows to filter posts by tags. tag= »hello,world » will give attachments from posts tagged with hello or world ; tag= »hello world » will give attachments from posts tagged with hello and world.
    • category makes exactly the same, but for categories. Take care! If you use in the same time the tag and the category option it makes an logical AND between the two.
    • orderby should be one of the following: date, author, title, modified, menu_order, parent, ID, rand. See the WordPress get_posts documentation for more information.
    • order should be ASC or DESC.
    • So… [media-library-gallery exclude="12,13,14" nb=20 cols=4 tag="photos" category="holiday" orderby="date" order="DESC"] should display images from posts tagged with photos from the holiday category, with 20 images a page, 4 images a row. Most recent images should be displayed first. And it won’t display images related to IDS 12, 13, 14.
  6. You can also call directly the plugin in your template code. Call the media_library_gallery_library() function and give it the options you want as an array. For instance media_library_gallery_library(array( »nb »=>2, « cols »=>1));. Could be useful to display it in a sidebar!

== Changelog ==

1.0.1

  • Now compatible with PHP4. Enjoy!
  • Use the builtin shortcode API to detect the [media-library-gallery] tag.
  • Doesn’t display attachments from draft posts anymore.
  • You can now set up a number of columns (i.e.: the number of images you would like for a row) with the cols param.
  • You can filter by tag the attachment’s posts with the tag param.
  • The same for categories with the category param.
  • You can order the images with the orderby param.
  • You can sort them with the order param.
  • A button and a special dialog have been added in the tinyMCE editor.
  • Fix multiple pages issue.
  • Display titles only on one row.

0.0.1

  • First release.

http://www.cybwarrior.com/wp-content/plugins/downloads-manager/img/icons/winzip.gif download: Media Library Gallery (209.66KB)
added: 13/12/2009
clicks: 1352
description: The very magical WordPress plugin that displays a gallery of all your image attachments! See the related Media Library Gallery WordPress page for more information. La merveilleuse extension WordPress qui affiche une galerie de toutes vos images attachées ! Reportez-vous à la page WordPress associée à Media Library Gallery pour plus d'informations.

  1. 29/01/2010 à 17:21 | #1

    Great plug-in. Simple and easy to use. I noticed that it displays perfectly in firefox, a little buggy in Safari, and compeletely screwed up in the newest IE (8?). It looks normal in IE with the compatability view turned on, but how many viewers will know to click that button? Just givintg you a heads-up. I thought maybe I could make it more compatible if I created a new « picture album » template. Could you email me and/or post the full php to call the plug-in from the template file?

  2. siva
    17/02/2010 à 00:02 | #2

    Gallery works great with the exception of the thickbox. Looks like your J-Query is outdated and is conflict with the J-Query supplied by the latest version of WordPress MU. Can you update your plugin?

  3. stan
    13/04/2010 à 19:26 | #3

    Hi, nice plug-in. I don’t quite understand how to call the plugin directly from a template. Can you please give me the steps? Thank you!

  4. Fisher
    26/04/2010 à 21:26 | #4

    Well, I have a problem here. Um.. I don’t no how to use it and I figured it out thousand times and the result is still the same. I try to post a picture with Media Gallery Library but the only thing I post in my website is not the picture but the code which making me frustated. Can someone here please teach me on how to use it properly step by step and if you can, with picture with it since I was a slow learner.

  5. 03/05/2010 à 13:52 | #5

    Hi,

    Can you make an include field instead of an exclude field, please? Because when i exclude pages the gallery shows empty gallery pages where the excluded files were supposed to be shown

    Thanks,

    Fredric

  6. 10/06/2010 à 21:28 | #6

    I downloaded the plugin and so far okay. I just need help editing the images I’d like to add to a post. When I choose the option and add the titles of the pages I’d like it to exclude it still adds the images from those posts anyway. Is there something I’m missing? Obviously bc it’s not working. please email me back…

  7. 10/06/2010 à 21:45 | #7

    Okay so I figured it out but now I wonder why it shows a link to page 2 on the « color rings » post when there are only 3 photos?? and when I click the second page there is nothing there??

  8. Christina
    13/06/2010 à 21:02 | #8

    Really a great Plugin!
    Unfortunately both next and previous signs ‘<>’ have no divider ‘/’ in front of the pagenumber so they don’t work. My knowledge about php ist not good enough to fix this on my own.
    And is there a problem with uppercase and/or lowercase tags and/or categories?
    My second gallery does not display anything although there are posts and the writing is correct. I assumed this because the tiny little helping-tool replaces the name in the tag field ‘Coco’ by ‘coco’… and no pictures in the gallery.
    The first gallery for ‘Pasqual’ displays pictures but only with ‘orderby title’. All combinations with date or modified display nothing. Could this connected with the Date-format of wordpress?
    And I always get 7 pages, in the case of ‘Coco’ with no pictures on them.
    Does this make sense to you?

  9. bobby
    22/01/2011 à 01:24 | #9

    Hi i was wondering can you modified your gallery plugin, i have a site but i’m not uploading images to my post i’m using image hosting services, can you send me a version of your plugin that take first image from the post?

    I think this modification will be useful for many people.

    I’m really like your plugin, and i’m really need it because there are no such plugins on the web, please make modifikation.

  1. Pas encore de trackbacks