Function: thumbs

Make a preview buffer for all images in DIR.
Optional argument REG to select file matching a regexp,
and SAME-WINDOW to show thumbs in the same window.

(fn DIR &optional REG SAME-WINDOW)