Inline Thumbnails
-
In simple terms, all I need to do is to print an unordered list of thumbnail images which I have created from posts. I want to display a group of 3 of these thumbnails (posts) in a row to it’s own page.
In more specific and complex terms, I have set up a thumbnail image to be created for each of my posts automatically using custom fields. I’m using these to display in a customized Coda Slider which acts as a scrolling selector for each post of just one category. I have it working perfectly, except that the slider will only display 1 post at a time. I’ve played with the css and code, but it doesn’t seem to be a styling issue. I’m pretty sure its the php writing the thumbnails each to their own page.
Here is the important stuff…
<div class="scroll"> <div class="scrollContainer"> <?php while (have_posts()) : the_post(); ?> <div class="panel" id="<?=$post->post_name?>"> <a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"> <img src="<?php $values = get_post_custom_values("thumb"); echo $values[0]; ?>" alt="<?php the_title(); ?>" class="thumb" /> </a> <?php the_excerpt(); ?> </div> <?php endwhile;?> </div> </div>
Any help?
- The topic ‘Inline Thumbnails’ is closed to new replies.