Multi Image Upload

Standard

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

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()](http://wordpress.org/extend/plugins/multi-image-upload/other_notes/#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); 

//Sample output
Array
(
    [0] => http://www.example.com/image-1.png
    [1] => http://www.example.com/image-2.png
)

?>

Screenshots:

screenshot-1

screenshot-2

screenshot-3

Advertisements

5 thoughts on “Multi Image Upload

  1. davidbuckleyni

    Hi I am using ur plugn on mamp and wordpress 3.1.9 but when i click insert into post its not showing the filename in the textbox?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: