WordPress Plugin NextGen Gallery

HOWTO: INFO: Shortcodes

 * show_slideshow_link - set to 0 to remove the link to the gallery page
 * override_thumbnail_settings - if you want to use thumbnail_height and thumbnail_width you'll need to set this to 1
 * order_by - use any of the field names from the ngg_images table
 * order_direction - Simple, just ASC, DESC or even RAND

Found here.