Retrieving images from a NextGEN gallery

For anyone interested I found a solution to what I wanted.

You simply need to create a custom template

Then I accessed the images like this:

<?php foreach ($images as $image) : ?>
<?php echo do_shortcode('[singlepic id="' . $image->pid . '"]'); ?>
<?php endforeach; ?>