Scriptbaker
SCRIPTBAKERAI & Software Engineering
WordPress

Multi Image Upload

Multi Image Upload adds a meta box to upload multiple images for posts and pages. You can enable it for custom post types also. Download: http://wordpress.org/p

· 5 min read · By Tahir Yasin

Multi Image Upload adds a meta box to upload multiple images for posts and pages. You can enable it for custom post types also.

Download:

http://wordpress.org/plugins/multi-image-upload/

Installation:

  1. Upload plugin to the `/wp-content/plugins/` directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. To retrieve linked images Use miu_get_images() into the loop to get an array of image URLs
  4. Optional

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

Replace:

 $this->post_types = array('post', 'page'); 

With:

 $this->post_types = array('post', 'page', 'book'); 

Usage

 $images = miu_get_images($post_id=null); //Sample output Array ( [0] => http://www.example.com/image-1.png [1] => http://www.example.com/image-2.png ) ?> 

Work with Scriptbaker

Let's talk about your project

Whether you're extending an existing platform, modernising legacy code, or planning something new, our engineers can help. Tell us what you're working on and we'll explore a practical technical solution together.