{"id":68500,"date":"2017-05-12T12:34:45","date_gmt":"2017-05-12T12:34:45","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/multi-image-uploader\/"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-30T00:00:00","slug":"multi-image-uploader","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/multi-image-uploader\/","author":14916990,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1","stable_tag":"1.1","tested":"3.9.40","requires":"2.8","requires_php":"","requires_plugins":"","header_name":"Multi Image Uploader","header_author":"Tahir Yasin","header_description":"This plugin adds a meta box to upload multiple images for posts and pages.","assets_banners_color":"","last_updated":"2017-05-12 12:34:45","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=63N6XHBLFRC3U","header_plugin_uri":"http:\/\/tahiryasin.wordpress.com\/plugins\/multi-image-upload\/","header_author_uri":"http:\/\/about.me\/tahiryasin","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1646,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"":"<p>NA<\/p>"},"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"screenshot-1.png"}},"plugin_section":[],"plugin_tags":[],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-68500","plugin","type-plugin","status-closed","hentry","plugin_committers-krashan"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/multi-image-uploader.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"\n\n<!--section=description-->\n<p>This plugin adds a meta box to upload multiple images for posts and pages. You can enable it for custom post types also, please see installation instructions.<\/p>\n\n<h3>miu_get_images()<\/h3>\n\n<p>This function can be called from any template file to get attached images for the page\/post being viewed.<\/p>\n\n<p>It returns an array of the attached image URL.<\/p>\n\n<p>It take only one argument:<\/p>\n\n<ol>\n<li><p><strong>post_id<\/strong> (integer) to get images linked to a specific post<\/p>\n\n http:\/\/www.example.com\/image-1.png\n\n    [1] =&gt; http:\/\/www.example.com\/image-2.png\n\n)\n\n\n\n?&gt;<\/li>\n<\/ol>\n\n<!--section=installation-->\n<ol>\n<li><p>Upload plugin to the <code>\/wp-content\/plugins\/<\/code> directory<\/p><\/li>\n<li><p>Activate the plugin through the 'Plugins' menu in WordPress<\/p><\/li>\n<li><p>To retrieve linked images <a href=\"http:\/\/wordpress.org\/extend\/plugins\/multi-image-upload\/other_notes\/#miu_get_images()\">Use miu_get_images()<\/a> into the loop to get an array of image URLs<\/p><\/li>\n<li><p>Optional<\/p><\/li>\n<\/ol>\n\n<p>If you need to enable this meta box for your custom post type for example 'book'. Just edit the multi-image-upload.php as shown below<\/p>\n\n<p>Replace:<\/p>\n\n<pre><code>$this-&gt;post_types = array('post', 'page');\n<\/code><\/pre>\n\n<p>With:<\/p>\n\n<pre><code>$this-&gt;post_types = array('post', 'page', 'book');\n<\/code><\/pre>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><ol>\n<li><p>Upload plugin to the <code>\/wp-content\/plugins\/<\/code> directory<\/p><\/li>\n<li><p>Activate the plugin through the 'Plugins' menu in WordPress<\/p><\/li>\n<li><p>To retrieve linked images <a href=\"http:\/\/wordpress.org\/extend\/plugins\/multi-image-upload\/other_notes\/#miu_get_images()\">Use miu_get_images()<\/a> into the loop to get an array of image URLs<\/p><\/li>\n<li><p>Optional<\/p><\/li>\n<\/ol>\n\n<p>If you need to enable this meta box for your custom post type for example 'book'. Just edit the multi-image-upload.php as shown below<\/p>\n\n<p>Replace:<\/p>\n\n<pre><code>$this-&gt;post_types = array('post', 'page');\n<\/code><\/pre>\n\n<p>With:<\/p>\n\n<pre><code>$this-&gt;post_types = array('post', 'page', 'book');\n<\/code><\/pre><\/dd>\n<dt>Why should I use this plugin?<\/dt>\n<dd><p>Use this plugin if you want to quickly add a feature to upload multiple images for a page, post or custom post type.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>First stable release.<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Bug fixes<\/li>\n<\/ul>","raw_excerpt":"This plugin adds a meta box to upload multiple images for posts and pages.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/68500","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=68500"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/krashan"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=68500"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=68500"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=68500"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=68500"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=68500"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=68500"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}