Post Image Plugin Issue
-
Am currently working with using this plugin within a site:
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.