here is the code and the thumb.php is attached.
i added the code below in custom-functions.php of thesis theme.
function top_carousel(){
global $post;
if (is_single ()){
echo '<div id="topcarousel">';
$the_query = new WP_Query(array(
'category_name'=>'featured',
'orderby'=>'date',
'order'=>'DESC',
'showposts'=>'6'
));
while ($the_query->have_posts()) : $the_query->the_post(); $do_not_duplicate = $post->ID;
$image = get_post_meta($post->ID, 'thesis_post_image', $single = true);
echo '<div class="carouselu">';
echo '<a href="';
echo the_permalink();
echo '" >';
echo '<img src="http://test.digpk.com/public_html/test/wp-content/themes/thesis_18/lib/scripts/thumb.php?src='.$image.'&w=140&h=140&zc=1&q=100"></a>';
echo '<a href="';
echo the_permalink();
echo '" >';
echo the_title();
echo '</a>';
echo '</div>';
endwhile;
echo '<div style="clear:both"></div>';
echo '</div>';
}
}
add_action('thesis_hook_before_header', 'top_carousel');
and i added the code below to custom.php according to instructions at http://www.wolf-howl.com/blogs/how-to-carousel/
#topcarousel {border:1px solid #efefef; padding: 0px;padding-left:10px;}
.carouselu {width:150px;float:left;padding:3px;text-align:center;}
.carouselu IMG {border:2px solid #ccc;display:block;}
here is the site where i have installed it. http://test.digpk.com/
waiting for your kind support. thanks in advance
[attachment deleted by admin]