Support » Themes and Templates » 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" />
    <?php the_excerpt(); ?>
    <?php endwhile;?>

    Any help?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Inline Thumbnails’ is closed to new replies.