1. add this new function /**********************************************************/ function createNoShows($noshows, $thumbcode){ $return = ''; if (count($noshows) > 0) { $return .= '
'; foreach ($noshows as $pic) { $folder_url = get_option ('siteurl')."/".$pic->path."/"; $picturefile = nggallery::remove_umlauts($pic->filename); $link =($ngg_options['galImgBrowser']) ? htmlspecialchars(add_query_arg(array('page'=>get_the_ID(),'pid'=>$pic->pid))) : $folder_url.$picturefile; $return .= ''; } $return .= '
'."\n"; } return $return; } 2. In function nggCreateGallery find array_splice($picturelist, 0, $start); before add: $noshows_before = array_slice($picturelist, 0, $start); 3. In function nggCreateGallery find array_splice($picturelist, $maxElement) before add: $noshows_after = array_slice($picturelist, $maxElement); 4. In function nggCreateGallery find foreach ($picturelist as $picture) { before add: $out .= createNoShows($noshows_before, $thumbcode); 5. In function nggCreateGallery find $out .= ($maxElement > 0) ? $navigation : '
'."\n"; before add: $out .= createNoShows($noshows_after, $thumbcode);