How-to: Use MODX getResources and getPage for galleries...or anything you want!

My latest assignment was a MODX site featuring a thumbnail gallery. With the specific requirements of the project, the first snippet that came to mind was the venerable all-in-one toolbox called getResources and the sister-snippet getPage. Here's a tutorial on the installation and usage.