Hy,
im using NextGen gallery for my gallery images, i want to display in archive page first 4 images from the galley atached to the post.
Ex: i have this code that retrive me the galery..
<?php
foreach ( get_field ( 'galerie_seriale' ) as $nextgen_gallery_id ) :
if ( $nextgen_gallery_id['ngg_form'] == 'album' ) {
echo nggShowAlbum( $nextgen_gallery_id['ngg_id'] ); //NextGEN Gallery album
} elseif ( $nextgen_gallery_id['ngg_form'] == 'gallery' ) {
echo nggShowGallery( $nextgen_gallery_id['ngg_id'] ); //NextGEN Gallery gallery
}
endforeach;
?>
Please see the picture http://i49.tinypic.com/wwdkd0.jpg
I want to be able to get in archive page only 4 picture, first 4 pictures, last.., something like this http://www.tvblog.ro/seriale-tv/
I search
function nggShowGallery, there are parameters and filters that may be useful. – brasofilo Feb 3 at 21:10