try the code below and you will get a solution for your problem
cat_id is the category id;
<?php
query_posts('cat=cat_id');
while{have_posts()} : the_post();
?>
<div style="float:left;margin:5px;">
<?php the_post_thumbnail(); ?>
</div>
<?php endwhile; ?>
<div style='clear:both;'></div>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.