I'm creating a simple slideshow on the side where i want to show 4 images from a post, i searched around i found this code that simply uses the build in gallery function
<li><?php echo do_shortcode('[gallery id="'.$post->ID.'"]'); ?></li>
the problem is that it spits out the entire gallery... is there noway to limit this to 2,3 ?
i tried to use
http://codex.wordpress.org/Function_Reference/get_the_post_thumbnail
but for some reason, i didnt work... I guess it because all my posts are made of is a gallery of images
all help is appreciated regards