WordPress plugin intelligence profile

Multi Image Metabox

Add a multi-image metabox to your posts, pages and custom post types

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 3.5
Current version1.3.5
WordPress coverageTested up to WordPress 3.5
Minimum stackWP 3.0 · PHP —
Directory statusactive
Last directory update28 Nov 20178y ago
Active installations7K+Adoption metric — not a quality score
WordPress.org rating4.9 / 5 from 11 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Multi Image Metabox version 1.3.5 as active, updated 8y ago and tested up to WordPress 3.5.

Overview

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

php file:

Set allowed number of picts

php file:

‘_image1’,

‘image2’ => ‘_image2’,

);

return $picts;

}

>

Set allowed number of picts, depending to the post_type

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:

  • include the thumbnail? (boolean) if true include the thumbnail in the returned datas

-

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:

  • size (string) the size to return
  • include the thumbnail? (boolean) if true include the thumbnail in the returned datas

-

ID (integer) for targeting images linked to a specific post

array(

jpg’,

[1] => 340,

[2] => 200,

[3] => false //I’ve no idea what is it…

),

‘image2’ => array(

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:

  • size (string) the size to return
  • size2 (string) another size to return
  • include the thumbnail? (boolean) if true include the thumbnail in the returned datas

-

ID (integer) for targeting images linked to a specific post

array(

[0] => array(

jpg’,

[1] => 340,

[2] => 200,

[3] => false //I’ve no idea what is it…

),

[1] => array(

jpg’,

[1] => 1020,

[2] => 600,

[3] => false //I’ve no idea what is it…

),

),

‘image2’ => array(

[0] => array(

jpg’,

[1] => 340,

[2] => 200,

[3] => false //I’ve no idea what is it…

),

[1] => array(

jpg’,

[1] => 1020,

[2] => 600,

[3] => false //I’ve no idea what is it…

)

)

);

//Empty pictures ar not returned

>

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • multiple post thumbnail
  • images
  • metabox
  • pictures
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 3.5

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 3.5.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to3.5
Minimum requirementsWordPress 3.0 · PHP not listed
Update activity28 Nov 20178y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.