{"id":44938,"date":"2014-03-09T08:11:39","date_gmt":"2014-03-09T08:11:39","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/exhibition\/"},"modified":"2014-05-05T13:29:48","modified_gmt":"2014-05-05T13:29:48","slug":"exhibition","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/exhibition\/","author":4029377,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1.5","stable_tag":"1.1.5","tested":"3.9.40","requires":"3.3","requires_php":"","requires_plugins":"","header_name":"Exhibition","header_author":"Make Do","header_description":"","assets_banners_color":"da6e8b","last_updated":"2014-05-05 13:29:48","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/makedo.in\/products\/","header_author_uri":"http:\/\/makedo.in","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1096,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"":"<p>Prior to version 1.1.1 the function exhibition_render_bootstrap() was called exhibition_render_boostrap(), a legacy function has been added to route the call, so the change shouldn&#039;t cause any issues.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"876191","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.1.0","1.1.1","1.1.2","1.1.3","1.1.4","1.1.5"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"876191","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"876191","resolution":"2","location":"assets"}},"screenshots":{"1":"Add a gallery to any post type via the options page","2":"Render your gallery in a bootstrap carousel"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[210,604,163,28020,2956],"plugin_category":[50],"plugin_contributors":[84537,84539,84538],"plugin_business_model":[],"class_list":["post-44938","plugin","type-plugin","status-closed","hentry","plugin_tags-gallery","plugin_tags-image-gallery","plugin_tags-images","plugin_tags-multiple-images","plugin_tags-thumbnails","plugin_category-media","plugin_contributors-mkdo","plugin_contributors-mkjones","plugin_contributors-mwtsn","plugin_committers-mwtsn"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/exhibition_da6e8b.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/exhibition\/assets\/screenshot-1.png?rev=876191","caption":"Add a gallery to any post type via the options page"},{"src":"https:\/\/ps.w.org\/exhibition\/assets\/screenshot-2.png?rev=876191","caption":"Render your gallery in a bootstrap carousel"}],"raw_content":"<!--section=description-->\n<p>Created by <a href=\"http:\/\/makedo.in\/\">Make Do<\/a>, this plugin will allow you to add multiple images to any post type.<\/p>\n\n<p>The plugin stores an array of image ids in a custom field, so you can display them however you want, at whatever size you want by using the built in WordPress wp_get_attachment_image() function.<\/p>\n\n<p>You can also output the images as a carousel with a built in function.<\/p>\n\n<p>Too simple for your needs? Try our <a href=\"http:\/\/wordpress.org\/plugins\/conveyor\/\">Conveyor<\/a> plugin, that allows you to to create carousel from a 'slides' custom post type, or from any post type.<\/p>\n\n<h4>Exhibition features<\/h4>\n\n<ul>\n<li>Store multiple images against any post type<\/li>\n<li>Render a Bootstrap compatible carousel<\/li>\n<li>Comes with a predefined image sizes<\/li>\n<\/ul>\n\n<p>If you are using this plugin in your project <a href=\"mailto:&#x68;&#101;&#x6c;&#x6c;&#111;&#x40;&#109;&#x61;&#x6b;&#101;&#x64;&#111;&#x2e;&#x69;&#110;\">we would love to hear about it<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Backup your WordPress install<\/li>\n<li>Upload the plugin folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>What is the meta field that exhibition stores the image ids in?<\/dt>\n<dd><p>It is:<\/p>\n\n<ul>\n<li>'_exhibition_images'<\/li>\n<\/ul><\/dd>\n<dt>What functions does this plugin provide?<\/dt>\n<dd><p>You can use:<\/p>\n\n<ul>\n<li>exhibition_render_bootstrap()<\/li>\n<\/ul><\/dd>\n<dt>What does exhibition_render_bootstrap() do?<\/dt>\n<dd><p>This function will render a Bootstrap 3 carousel. You can use it like so:<\/p>\n\n<pre><code>exhibition_render_bootstrap( $post_id, $args );\n<\/code><\/pre>\n\n<p>It accepts the ID of the post you wish to render the images of, as well as an array of arguments that dictate how it renders.<\/p>\n\n<p>Use the defaults like so:<\/p>\n\n<pre><code>$defaults = array(\n    'id'                        =&gt; 'exhibition_carousel',               \/\/ If you want to have multiple carousels, you will want to change the id each time\n    'image_size'                =&gt; 'golden-ratio-1024',                 \/\/ [ thumbnail | medium | large | full | custom ] - the image size you wish to output\n    'render_controls'           =&gt; true,                                \/\/ [ true | false ] - Show the slide left right controls\n    'render_indicators'         =&gt; true                                 \/\/ [ true | false ] - Show the slide indicators\n);\n\nexhibition_render_bootstrap( $post_id, $defaults );\n<\/code><\/pre><\/dd>\n<dt>The bootstrap carousel isnt working, what do I need to do?<\/dt>\n<dd><p>The plugin will only render the HTML and JavaScript configuratio for the carousel, you will need to add Bootstrap CSS and JS to your theme.<\/p><\/dd>\n<dt>What custom image sizes are created by this plugin?<\/dt>\n<dd><p>The image sizes are:<\/p>\n\n<ul>\n<li>'golden-ratio-2560' - 2560 x 1582<\/li>\n<li>'golden-ratio-2048' - 2048 x 1266<\/li>\n<li>'golden-ratio-1920' - 1920 x 1186<\/li>\n<li>'golden-ratio-1680' - 1680 x 633<\/li>\n<li>'golden-ratio-1440' - 1440 x 890<\/li>\n<li>'golden-ratio-1280' - 1280 x 791<\/li>\n<li>'golden-ratio-1024' - 1024 x 633<\/li>\n<li>'golden-ratio-800' - 800 x 494<\/li>\n<li>'golden-ratio-640' - 640 x 396<\/li>\n<li>'square-75' - 75 x 75<\/li>\n<li>'square-150' - 150 x 150<\/li>\n<li>'square-300' - 300 x 300<\/li>\n<li>'square-600' - 600 x 600<\/li>\n<li>'square-1200' - 1200 x 1200<\/li>\n<\/ul><\/dd>\n<dt>The custom image sizes dont seem to work, help!<\/dt>\n<dd><p>The image sizes will only take effect on images you have uploaded after this plugin has been installed, however there are other plugins out there (such as <a href=\"http:\/\/wordpress.org\/plugins\/wp-thumb\/\">WPThumb<\/a>) that will fix this for you.<\/p>\n\n<p>If it still isnt working, check that you have the 'GD' module installed in your PHP environment. If you havent, you can install it like so:<\/p>\n\n<pre><code>apt-get install php5-gd\n<\/code><\/pre><\/dd>\n<dt>Can I contribute?<\/dt>\n<dd><p>Sure thing, the GitHub repository is right here: (https:\/\/github.com\/mwtsn\/exhibition)<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.9<\/h4>\n\n<ul>\n<li>Tested plugin with WordPress 3.9<\/li>\n<\/ul>\n\n<h4>1.1.4<\/h4>\n\n<ul>\n<li>Fixed ability to add to gallery and editor<\/li>\n<\/ul>\n\n<h4>1.1.3<\/h4>\n\n<ul>\n<li>Fixed bug in JavaScript<\/li>\n<\/ul>\n\n<h4>1.1.2<\/h4>\n\n<ul>\n<li>Minor ammendments<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Fixed issue with Bootstrap in function names<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Added carousel render<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial WordPress repository release<\/li>\n<\/ul>","raw_excerpt":"Add multiple images to any post type. This plugin stores an array of image ids in a custom field, so you can display them however you want.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/44938","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=44938"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mwtsn"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=44938"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=44938"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=44938"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=44938"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=44938"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=44938"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}