Title: Multiple post thumbnails
Last modified: August 20, 2016

---

# Multiple post thumbnails

 *  Resolved [THAWK](https://wordpress.org/support/users/thawk/)
 * (@thawk)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/multiple-post-thumbnails-1/)
 * Hi there,
 * I am currently working on a site that has multiple post thumbnails/featured images
   attached to posts.
    [http://wordpress.org/extend/plugins/multiple-post-thumbnails/](http://wordpress.org/extend/plugins/multiple-post-thumbnails/)
 * I am able to display all of the thumbnails however I havent been able to figure
   out how to specify the **size** of the second featured image.
 *     ```
       //Post Thumbnail
           $lcp_display_output .= $this->get_thumbnail($single);
   
       //Second thumbnail
           $lcp_display_output .= $this->get_thumbnail(get_post_type(), 'div', NULL,  'secondthumbnail');
       ```
   
 * Anybody have an idea how I can configure this second image a little more?
 * Above code generates:
    – div containing the secondthumbnail – a link containing
   the secondthumbnail (linking to current page instead of the actual post) – img
   class=”attachement-(thumbnailsize) – actual image in src = “Large”
 * Code generated at the moment:
 *     ```
       <ul class="lcp_catlist">
       <li><a href="http://localhost/crossfitlocal/coaches/roy-van-leeuwen/" title="Roy van Leeuwen">Roy van Leeuwen</a> (0) 29 januari 2013admin<a href="http://localhost/crossfitlocal/coaches/roy-van-leeuwen/"><img width="540" height="240" src="http://localhost/crossfitlocal/wp-content/uploads/2013/01/bg_cfa_001_2000x1250_image_17-540x240.jpg" class="attachment-540x240 wp-post-image" alt="bg_cfa_001_2000x1250_image_17"></a>
       <div><a href="http://localhost/crossfitlocal/coaches/"><img width="384" height="240" src="http://localhost/crossfitlocal/wp-content/uploads/2013/01/bg_cfa_001_2000x1250_image_15-1024x640.jpg" class="attachment-540x240 wp-post-image" alt="bg_cfa_001_2000x1250_image_15"></a></div>
       <div class="lcp_excerpt">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo,…</div>
       </li>
       </ul>
       ```
   
 * Any help is appreciated!
 * greetings,
    Thomas
 * [http://wordpress.org/extend/plugins/list-category-posts/](http://wordpress.org/extend/plugins/list-category-posts/)

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

 *  Thread Starter [THAWK](https://wordpress.org/support/users/thawk/)
 * (@thawk)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/multiple-post-thumbnails-1/#post-3510496)
 * guess I got this one a little wrong, I am unable to retrieve these custom meta
   images attached to the post after all, it was displaying the featured image of
   the page and not the post.
 * Any idea on how to retrieve custom meta images attached to a post is welcome!
   The code used to retrieve these in a template is:”
 * `if (class_exists('MultiPostThumbnails')) : MultiPostThumbnails::the_post_thumbnail(
   get_post_type(), 'metaname', NULL, 'imagesize'); endif;`
 * Thomas
 *  Thread Starter [THAWK](https://wordpress.org/support/users/thawk/)
 * (@thawk)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/multiple-post-thumbnails-1/#post-3510498)
 * guess I am going to solve this some other way, without LCP.
 * cheers,
    T

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

The topic ‘Multiple post thumbnails’ is closed to new replies.

 * ![](https://ps.w.org/list-category-posts/assets/icon-256x256.png?rev=2517221)
 * [List category posts](https://wordpress.org/plugins/list-category-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/list-category-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/list-category-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/list-category-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/list-category-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/list-category-posts/reviews/)

## Tags

 * [featured](https://wordpress.org/support/topic-tag/featured/)
 * [multiple](https://wordpress.org/support/topic-tag/multiple/)
 * [multiple thumbnails](https://wordpress.org/support/topic-tag/multiple-thumbnails/)
 * [thumbnails](https://wordpress.org/support/topic-tag/thumbnails/)

 * 2 replies
 * 1 participant
 * Last reply from: [THAWK](https://wordpress.org/support/users/thawk/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/multiple-post-thumbnails-1/#post-3510498)
 * Status: resolved