I have looked through the forum and I see a lot of people wanting to link their images to the associated gallery. I am having a hard time doing this. I am using the function <?php echo nggShowRandomRecent('random',6,'home'); ?> to display 6 images randomly and using my custom theme gallery-home.php. The problem I face is that it uses galleryID of 0 to use ALL galleries in the query so it will never give me the proper ID associated with each image. Does anyone have a work around?