The WPFolks app is out on iPhone and Android. Free, no ads. Download on the App Store Get it on Google Play
Skip to main content
Login Join

Multi Image Metabox

Active installs
6k+
11 ratings
4.9
Last updated
9 years ago
Version
1.3.5
Tested up to
WP 3.5.2

About this plugin

This plugin add a metabox which allox to upload and link multiple images to one post.
Pictures are linked by the way of meta_value (and attachments ID). They can be reordered using drag and drop.

Number of allowed pictures and concerned post types can be overited using hooks.

Plugin includes many functions to retrieve linked pictures.
For more information on using the plugin, refer to the section “Other Notes”.

Set concerned post types

Paste this into your theme’s functions.php file :

Set allowed number of picts

Paste this into your theme’s functions.php file :
‘_image1’,
‘image2’ => ‘_image2’,
);
return $picts;
}
?>

Set allowed number of picts, depending to the post_type

Paste this into your theme’s functions.php file :
add_filter(‘list_images’,’my_list_images’,10,2);
function my_list_images($list_images, $cpt){
global $typenow;
if($typenow == “my_custom_post_type” || $cpt == “my_custom_post_type”)
$picts = array(
‘image1’ => ‘_image1’,
‘image2’ => ‘_image2’,
‘image3’ => ‘_image3’,
);
else
$picts = array(
‘image1’ => ‘_image1’,
‘image2’ => ‘_image2’,
‘image3’ => ‘_image3’,
‘image4’ => ‘_image4’,
‘image5’ => ‘_image5’,
‘image6’ => ‘_image6’,
‘image7’ => ‘_image7’,
‘image8’ => ‘_image8’,
);
return $picts;
}

get_images_ids()

This function have to be used into a template file, or any function.
It return an array of the linked attachments’s ID.

It take two arguments whose are :

  1. include the thumbnail ? (boolean) if true include the thumbnail in the returned datas
  2. ID (integer) for targeting images linked to a specific post

    45,
    ‘image1’ => 5,
    ‘image2’ => 6,
    ‘image3’ => 12,
    ‘image6’ => 20,
    ‘image7’ => 15
    );

    //Empty pictures ar not returned

    ?>

    get_images_src()

    This function have to be used into a template file, or any function.
    It return an array of URIs and dimension for the linked attachments’s, by order.

It take three agruments whose are :

  1. size (string) the size to return
  2. include the thumbnail ? (boolean) if true include the thumbnail in the returned datas
  3. ID (integer) for targeting images linked to a specific post

    array(
    [0] => ‘http://url_of_the_medium_pict.jpg’,
    [1] => 340,
    [2] => 200,
    [3] => false //I’ve no idea what is it…
    ),
    ‘image2’ => array(
    [0] => ‘http://url_of_the_medium_second_pict.jpg’,
    [1] => 340,
    [2] => 200,
    [3] => false //I’ve no idea what is it…
    )
    );

    ?>

    get_multi_images_src()

    Same as get_image_src(), but return two sizes for all the pictures.

It take for agruments whose are :

  1. size (string) the size to return
  2. size2 (string) another size to return
  3. include the thumbnail ? (boolean) if true include the thumbnail in the returned datas
  4. ID (integer) for targeting images linked to a specific post

    array(
    [0] => array(
    [0] => ‘http://url_of_the_medium_pict.jpg’,
    [1] => 340,
    [2] => 200,
    [3] => false //I’ve no idea what is it…
    ),
    [1] => array(
    [0] => ‘http://url_of_the_full_pict.jpg’,
    [1] => 1020,
    [2] => 600,
    [3] => false //I’ve no idea what is it…
    ),
    ),
    ‘image2’ => array(
    [0] => array(
    [0] => ‘http://url_of_the_medium_second_pict.jpg’,
    [1] => 340,
    [2] => 200,
    [3] => false //I’ve no idea what is it…
    ),
    [1] => array(
    [0] => ‘http://url_of_the_second_full_pict.jpg’,
    [1] => 1020,
    [2] => 600,
    [3] => false //I’ve no idea what is it…
    )
    )
    );
    //Empty pictures ar not returned

    ?>

Screenshots

Analytics

Live from WordPress.org, refreshed daily. Last refresh Nov 30, 2026.

Top 5,000 on WordPress.org Plugin rankings
  • Downloads on a typical day are up 38% on the month before.
  • #33 by installs among 74 tracked plugins tagged "Images".
  • Passes 1 of 4 health checks below.
1/4

Health checks

What a careful site owner looks at before installing.

  • Actively maintained Last release 9 years ago
  • Tested with current WordPress Tested up to 3.5.2, 36 releases behind
  • Support questions answered 0 of 1 resolved in two months
  • Well rated 4.9 stars from 11 ratings
Active installs
6,000+ −14% from 7,000+ a month ago
This week
152 downloads +3.4% vs the week before
Last 30 days
555 downloads +38% on a typical day
All time
23k downloads On WordPress.org since 2012
Downloads per week Every update counts as a download on WordPress.org, so release weeks spike.
Latest week
152
Typical week
45
Peak
152 Week of Nov 23
View as table
WeekDownloads
Week of Nov 23152
Week of Nov 16147
Week of Nov 9106
Week of Nov 2113
Week of Oct 26112
Week of Oct 19135
Week of Oct 1270
Week of Oct 576
Week of Sep 2889
Week of Sep 2189
Week of Sep 1483
Week of Sep 755
Week of Aug 3150
Week of Aug 2448
Week of Aug 1758
Week of Aug 1054
Week of Aug 369
Week of Jul 2745
Week of Jul 2046
Week of Jul 1336
Week of Jul 631
Week of Jun 2928
Week of Jun 2225
Week of Jun 1543
Week of Jun 854
Week of Jun 143
Week of May 2554
Week of May 1861
Week of May 1153
Week of May 451
Week of Apr 2754
Week of Apr 2041
Week of Apr 1333
Week of Apr 654
Week of Mar 3045
Week of Mar 2343
Week of Mar 1641
Week of Mar 930
Week of Mar 228
Week of Feb 2328
Week of Feb 1624
Week of Feb 933
Week of Feb 223
Week of Jan 2612
Week of Jan 1920
Week of Jan 1210
Week of Jan 513
Week of Dec 29, 202515
Week of Dec 22, 202511
Week of Dec 15, 202518
Week of Dec 8, 202512
Week of Dec 1, 202517
Active installs over time Recorded by WPFolks every day since Oct 14, 2026.

Reviews

4.9 11 ratings on WordPress.org
  • 5 10
  • 4 1
  • 3 0
  • 2 0
  • 1 0

From folks on WPFolks

No reviews from folks yet. Used it? Be the first to say how it went.

Log in to leave a review

Latest on WordPress.org

[Multi Image Metabox] Pretty Good Plug-in
ellice909 · January 29, 2016

I am a graphic designer and I use this on my own site. I use it on some client sites. It really helps me get the job done. I wish the documentation was a bit clearer. I remember not getting a critical piece of information from the documentation when I started…

[Multi Image Metabox] Good Plugin
klemonnier · July 18, 2014

It’s really a good plugin. After install this one you can easily install an image gallery. To improve for me: Possibility to add link to images. Automatically add the Alt and Title to images. I tried and didn’t get the solution. Possibility to add a text for…

[Multi Image Metabox] Really great Plugin
Blackbam · April 15, 2014

A great Plugin that just works and can be used how one needs it. However one improvement idea: Instead of having to specifiy a fixed number of images you may add a possiblity to add/remove image boxes dynamically so that clients can click something like a…

Proudly supported by