Title: [Plugin: Multiple Post Thumbnails] More than 2 Thumbs
Last modified: August 19, 2016

---

# [Plugin: Multiple Post Thumbnails] More than 2 Thumbs

 *  Anonymous User 303747
 * (@anonymized-303747)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-multiple-post-thumbnails-more-than-2-thumbs/)
 * Could I add more than 2 (3, 4 or 5) thumbnails? I’m using it for an online store
   with additional product images – this way I could prevent using custom fields
   with copied link URL’s altogether, which makes it easier to use for non-technical
   users.
 * If the answer is yes, what would the code look like?
 * [http://wordpress.org/extend/plugins/multiple-post-thumbnails/](http://wordpress.org/extend/plugins/multiple-post-thumbnails/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Chris Scott](https://wordpress.org/support/users/chrisscott/)
 * (@chrisscott)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-multiple-post-thumbnails-more-than-2-thumbs/#post-1601278)
 * @jvinch
 * Yes, just instantiate a new object for each thumb. e.g.
 *     ```
       new MultiPostThumbnails(array(
           'label' => 'Secondary Image',
           'id' => 'secondary-image',
           )
       );
       new MultiPostThumbnails(array(
           'label' => 'Tertiary Image',
           'id' => 'tertiary-image',
           )
       );
       ```
   
 *  [Abdussamad Abdurrazzaq](https://wordpress.org/support/users/abdussamad/)
 * (@abdussamad)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-multiple-post-thumbnails-more-than-2-thumbs/#post-1601456)
 * I am having a problem where only two thumbs are showing up in the admin panel.
   I have setup 5 thumbs per page in my functions.php file and it works fine on 
   my local wordpress installation but not on my remote server’s wordpress install.
   Any help would be appreciated? I am using wordpress 3.0.1 and the code in functions.
   php is:
 *     ```
       for ($i=1;$i<6;$i++) {
   
               new MultiPostThumbnails(array(
                   'label' => "Right Side Image $i",
                   'id' => "right-image-$i",
                       'post_type' => 'page'
                   )
               );
       }
       ```
   
 * Can anyone help me fix this problem?
 * Also there is a strange bug whereby clicking on a thumbnail and choosing a replacement
   image does not stick. You have to first click on the remove link and save your
   post before choosing a new image.
 *  [memic4](https://wordpress.org/support/users/memic4/)
 * (@memic4)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-multiple-post-thumbnails-more-than-2-thumbs/#post-1601497)
 * I have the same problem.
    Only 2 boxes are showing in admin panel, but I created
   3 in functions.php:
 *     ```
       $thumb = new MultiPostThumbnails(array(
               'label' => 'Second Image',
               'id' => 'second-image',
               'post_type' => 'page'
               )
           );
           new MultiPostThumbnails(array(
               'label' => 'Third Image',
               'id' => 'third-image',
               'post_type' => 'page'
               )
           );
           new MultiPostThumbnails(array(
               'label' => 'Fourth Image',
               'id' => 'fourth-image',
               'post_type' => 'page'
               )
           );
       ```
   
 * It shows only the “Fourth image” box and the “Third image” box.
    (also in the
   wrong order..)
 * “Second Image” box fail to print.
 * Have you any solutions?
 * Any help would be appreciated.
 * P.S.. but in the popup window I have correctly the 3 links, Set as Second image,
   Set as Third and Fourth…
 * P.P.S
    it works fine on the local wordpress installation but not on the remote
   server’s wordpress. both wordpress 3.0.1
 *  [vikrantmca](https://wordpress.org/support/users/vikrantmca/)
 * (@vikrantmca)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-multiple-post-thumbnails-more-than-2-thumbs/#post-1601500)
 * I have used the folllowing code and its works fine for me.
    $thumb2 = new MultiPostThumbnails(
   array( ‘label’ => ‘IInd Image’, ‘id’ => ‘image2’, ‘post_type’ => ‘post’ ) ); 
   add_image_size(‘post-image2-thumbnail’, 260, 195, true);
 * $thumb3 = new MultiPostThumbnails(array(
    ‘label’ => ‘IIIrd Image’, ‘id’ => ‘
   image3’, ‘post_type’ => ‘post’ ) ); add_image_size(‘post-image3-thumbnail’, 260,
   195, true); $thumb4 = new MultiPostThumbnails(array( ‘label’ => ‘IVth Image’,‘
   id’ => ‘image4’, ‘post_type’ => ‘post’ ) ); add_image_size(‘post-image4-thumbnail’,
   260, 195, true); $thumb5 = new MultiPostThumbnails(array( ‘label’ => ‘Vth Image’,‘
   id’ => ‘image5’, ‘post_type’ => ‘post’ ) ); add_image_size(‘post-image5-thumbnail’,
   260, 195, true); $thumb6 = new MultiPostThumbnails(array( ‘label’ => ‘VIth Image’,‘
   id’ => ‘image6’, ‘post_type’ => ‘post’ ) ); add_image_size(‘post-image6-thumbnail’,
   260, 195, true); $thumb7 = new MultiPostThumbnails(array( ‘label’ => ‘VIIth Image’,‘
   id’ => ‘image7’, ‘post_type’ => ‘post’ ) ); add_image_size(‘post-image7-thumbnail’,
   260, 195, true); $thumb8 = new MultiPostThumbnails(array( ‘label’ => ‘VIIIth 
   Image’, ‘id’ => ‘image8’, ‘post_type’ => ‘post’ ) ); add_image_size(‘post-image8-
   thumbnail’, 260, 195, true);
 *  [memic4](https://wordpress.org/support/users/memic4/)
 * (@memic4)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-multiple-post-thumbnails-more-than-2-thumbs/#post-1601519)
 * I still have not found any solution to this problem. Anyone with some clues?
 * I added 9 thumbnails but nothing..
 * You can see here what’s the problem:
    [http://www.memic.net/some_files/screenshot.png](http://www.memic.net/some_files/screenshot.png)
 * Thanks

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘[Plugin: Multiple Post Thumbnails] More than 2 Thumbs’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/multiple-post-thumbnails_d94965.svg)
 * [Multiple Post Thumbnails](https://wordpress.org/plugins/multiple-post-thumbnails/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/multiple-post-thumbnails/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/multiple-post-thumbnails/)
 * [Active Topics](https://wordpress.org/support/plugin/multiple-post-thumbnails/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/multiple-post-thumbnails/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/multiple-post-thumbnails/reviews/)

 * 5 replies
 * 5 participants
 * Last reply from: [memic4](https://wordpress.org/support/users/memic4/)
 * Last activity: [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-multiple-post-thumbnails-more-than-2-thumbs/#post-1601519)
 * Status: not resolved