{"id":4315,"date":"2008-12-24T14:27:27","date_gmt":"2008-12-24T14:27:27","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/media-library-gallery\/"},"modified":"2009-12-13T14:37:49","modified_gmt":"2009-12-13T14:37:49","slug":"media-library-gallery","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/media-library-gallery\/","author":908983,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.2","stable_tag":"1.0.2","tested":"2.8.6","requires":"2.3","requires_php":"","requires_plugins":"","header_name":"Media Library Gallery","header_author":"Raphael Verchere","header_description":"","assets_banners_color":"","last_updated":"2009-12-13 14:37:49","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.amazon.fr\/gp\/registry\/wishlist\/3K72A89EBXOA4\/","header_plugin_uri":"http:\/\/www.cybwarrior.com\/media-library-gallery\/","header_author_uri":"http:\/\/www.cybwarrior.com","rating":5,"author_block_rating":0,"active_installs":100,"downloads":32070,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.0.2":"<p>Fix several minor issues (CSS, multiple pages), add a toolbar icon, add multiple configuration params.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.0.1","1.0.1","1.0.2"],"block_files":[],"assets_screenshots":{"screenshot-4.jpg":{"filename":"screenshot-4.jpg","revision":"1538892","resolution":"4","location":"plugin","width":600,"height":291},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":"1538892","resolution":"2","location":"plugin","width":600,"height":327},"screenshot-3.jpg":{"filename":"screenshot-3.jpg","revision":"1538892","resolution":"3","location":"plugin","width":600,"height":309},"screenshot-6.jpg":{"filename":"screenshot-6.jpg","revision":"1538892","resolution":"6","location":"plugin","width":600,"height":505},"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"1538892","resolution":"1","location":"plugin","width":600,"height":333},"screenshot-5.jpg":{"filename":"screenshot-5.jpg","revision":"1538892","resolution":"5","location":"plugin","width":600,"height":496}},"screenshots":{"1":"Just add a <code>[media-library-gallery]<\/code> tag in a page or a post.","2":"You can also use the wizard! Click on this button!","3":"Customize how you want the plugin to be displayed.","4":"Check this wonderful tag the wizard built automatically for you!","5":"Now your page should display like that! Awesome!","6":"<em>Thickbox<\/em> ready! \\o\/"}},"plugin_section":[],"plugin_tags":[210,163,1980,84,205],"plugin_category":[],"plugin_contributors":[83523],"plugin_business_model":[],"class_list":["post-4315","plugin","type-plugin","status-closed","hentry","plugin_tags-gallery","plugin_tags-images","plugin_tags-library","plugin_tags-media","plugin_tags-photos","plugin_contributors-ixmenhancement","plugin_committers-ixmenhancement"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/media-library-gallery.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/media-library-gallery\/trunk\/screenshot-1.jpg?rev=1538892","caption":"Just add a <code>[media-library-gallery]<\/code> tag in a page or a post."},{"src":"https:\/\/ps.w.org\/media-library-gallery\/trunk\/screenshot-2.jpg?rev=1538892","caption":"You can also use the wizard! Click on this button!"},{"src":"https:\/\/ps.w.org\/media-library-gallery\/trunk\/screenshot-3.jpg?rev=1538892","caption":"Customize how you want the plugin to be displayed."},{"src":"https:\/\/ps.w.org\/media-library-gallery\/trunk\/screenshot-4.jpg?rev=1538892","caption":"Check this wonderful tag the wizard built automatically for you!"},{"src":"https:\/\/ps.w.org\/media-library-gallery\/trunk\/screenshot-5.jpg?rev=1538892","caption":"Now your page should display like that! Awesome!"},{"src":"https:\/\/ps.w.org\/media-library-gallery\/trunk\/screenshot-6.jpg?rev=1538892","caption":"<em>Thickbox<\/em> ready! \\o\/"}],"raw_content":"<!--section=description-->\n<p><strong>Media Library Gallery<\/strong> 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: <code>[media-library-gallery]<\/code>. You can also customize: see the documentation for more information!<\/p>\n\n<p>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?<\/p>\n\n<p><strong>Media Library Gallery<\/strong> 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\u2019re done! More, the plugin is thickbox ready!<\/p>\n\n<p><a href=\"http:\/\/www.morbleu.com\/\"><strong>Morbleu !<\/strong><\/a> already uses it! Just have a look to their <a href=\"http:\/\/www.morbleu.com\/galerie-des-glaces\/\">Galerie des Glaces<\/a>...<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the directory <code>media-library-gallery<\/code> into your <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>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: <code>[media-library-gallery]<\/code>.<\/li>\n<li>Or use the assistant which should be in the toolbar of you editor!<\/li>\n<li>Then, you can customize:<\/li>\n<\/ol>\n\n<ul>\n<li><code>exclude<\/code> to exclude some attachment posts of the gallery. It works both with posts'id and attachments' pages' id!<\/li>\n<li><code>nb<\/code> determines how many pictures you want for a gallery page. Default is 20.<\/li>\n<li><code>cols<\/code> 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.<\/li>\n<li><code>tag<\/code> allows to filter posts by tags. <code>tag=\"hello,world\"<\/code> will give attachments from posts tagged with <code>hello<\/code> or <code>world<\/code> ; <code>tag=\"hello world\"<\/code> will give attachments from posts tagged with <code>hello<\/code>and <code>world<\/code>.<\/li>\n<li><code>category<\/code> makes exactly the same, but for categories. Take care! If you use in the same time the <code>tag<\/code> and the <code>category<\/code> option it makes an logical AND between the two.<\/li>\n<li><code>orderby<\/code> should be one of the following: <code>date<\/code>, <code>author<\/code>, <code>title<\/code>, <code>modified<\/code>, <code>menu_order<\/code>, <code>parent<\/code>, <code>ID<\/code>, <code>rand<\/code>. See the <a href=\"http:\/\/www.wordpress.org\/\">WordPress<\/a> <a href=\"http:\/\/codex.wordpress.org\/Function_Reference\/get_posts\">get_posts<\/a> documentation for more information.<\/li>\n<li><code>order<\/code> should be <code>ASC<\/code> or <code>DESC<\/code>.<\/li>\n<li>So... <code>[media-library-gallery exclude=\"12,13,14\" nb=20 cols=4 tag=\"photos\" category=\"holiday\" orderby=\"date\" order=\"DESC\"]<\/code> should display images from posts tagged with <code>photos<\/code> from the <code>holiday<\/code> category, with <code>20<\/code> images a page, <code>4<\/code> images a row. Most recent images should be displayed first. And it won't display images related to IDS 12, 13, 14.<\/li>\n<\/ul>\n\n<p>You can also call directly the plugin in your template code. Call the <code>media_library_gallery_library()<\/code> function and give it the options you want as an array. For instance <code>media_library_gallery_library(array(\"nb\"=&gt;2, \"cols\"=&gt;1));<\/code>. Could be useful to display it in a sidebar!<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>I get some PHP parse errors! Why?<\/dt>\n<dd><p>Probably because you're using PHP4. You should upgrade to PHP5. You know what? We will dealing soon with PHP6, so don't be late!<\/p>\n\n<p>You can also upgrade your <code>[media-library-gallery]<\/code> to the latest version because it should be now compatible with PHP4.<\/p><\/dd>\n<dt>OMG! Your plugin is probably the best one I ever used! But... I need more! Could you add this feature?<\/dt>\n<dd><p>Why not? Just ask and we'll try!<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Now compatible with PHP4. Enjoy!<\/li>\n<li>Use the builtin <code>shortcode<\/code> API to detect the <code>[media-library-gallery]<\/code> tag.<\/li>\n<li>Doesn't display attachments from draft posts anymore.<\/li>\n<li>You can now set up a number of columns (i.e.: the number of images you would like for a row) with the <code>cols<\/code> param.<\/li>\n<li>You can filter by tag the attachment's posts with the <code>tag<\/code> param.<\/li>\n<li>The same for categories with the <code>category<\/code> param.<\/li>\n<li>You can order the images with the <code>orderby<\/code> param.<\/li>\n<li>You can sort them with the <code>order<\/code> param.<\/li>\n<li>A button and a special dialog have been added in the <code>tinyMCE<\/code> editor.<\/li>\n<li>Fix multiple pages issue.<\/li>\n<li>Display titles only on one row.<\/li>\n<\/ul>\n\n<h4>0.0.1<\/h4>\n\n<ul>\n<li>First release.<\/li>\n<\/ul>","raw_excerpt":"Automatically creates a gallery with every images posts have in attachment.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/4315","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=4315"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/ixmenhancement"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=4315"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=4315"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=4315"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=4315"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=4315"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=4315"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}