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
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