I have one loop for big images, and I need the same loop with small images (thumbnails). This is where I am stuck.
Use case: I am trying to implement the elastic image slideshow jQuery plugin with WordPress following this tutorial.
So far I was able to get the large images but I can't figure how to manage the thumbnail navigation.
Here is the code that I used so far. Actually I don't know how to manage two thumbnail using same query one for main image and one for navigation image.
<div id="ei-slider" class="ei-slider">
<ul class="ei-slider-large">
<?php
query_posts(array('category_name' => 'featured', 'posts_per_page' => 3));
if(have_posts()) :
while(have_posts()) : the_post();
?>
<li>
<?php the_post_thumbnail(); ?>
<div class="ei-title"><h2> <?php the_title_attribute(); ?> </h2><h3><?php the_excerpt(); ?></h3></div>
</li>
<?php
endwhile;
endif;
wp_reset_query();
?>
</ul>
<ul class="ei-slider-thumbs">
<?php
// I need the thumbnails here.
?>
<li class="ei-slider-element">Current</li>
<li>
<a href="#">Slide 1</a>
<img src="images/thumbs/1.jpg" alt="thumb01" />
</li>
<li> <a href="#">Slide 2</a>
<img src="images/thumbs/2.jpg" alt="thumb02" /></li>
</ul>
</div>
May be I am looking for something like this? This theme implemented the slider with WordPress.
