Title: Post Image Plugin Issue
Last modified: August 18, 2016

---

# Post Image Plugin Issue

 *  [djmbs](https://wordpress.org/support/users/djmbs/)
 * (@djmbs)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/post-image-plugin-issue/)
 * Am currently working with using this plugin within a site:
 * [http://guff.szub.net/2006/02/09/post-image/](http://guff.szub.net/2006/02/09/post-image/)
 * Seems to be exactly what I need, however I am having an issue displaying multiple
   images on a ‘gallery’ type page.
 * It pulls the thumbnail for the first post only, leaving the src, title & alt 
   tags for all subsequent posts empty.
 * My code looks like this:
 *     ```
       <?php $my_query = new WP_Query('cat=4&showposts=10'); while ($my_query->have_posts()) : $my_query->the_post(); ?>
       <div class=\"post-div\">
       	<h2 id=\"post-<?php the_ID(); ?>\"><a href=\"<?php the_permalink() ?>\" rel=\"bookmark\" title=\"Permanent Link to <?php the_title(); ?>\"><?php the_title(); ?></a>	</h2>
       	<div class=\"post-thumb\"><?php szub_post_image('use_thumb=true'); ?></div>
       	<?php the_content(\"Continue reading \".the_title('', '', false).\"...\"); ?>
       </div>
       <?php endwhile; ?>
       ```
   
 * Any comments/help would be much appreciated.

The topic ‘Post Image Plugin Issue’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [djmbs](https://wordpress.org/support/users/djmbs/)
 * Last activity: [19 years, 2 months ago](https://wordpress.org/support/topic/post-image-plugin-issue/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
