I have a main gallery page which has a list of album thumbnails.
When an album get selected it goes to a gallery detailed page which shows all the images from whichever album the user clicked on.
Currently I have this on my gallery detailed page
" <?php echo apply_filters('the_content', '[nggallery id=1]');?> "
where the ID number is the a specific value, how can I make it so that the value is generated dynamically according to whichever album the user click on?