Multiple auto-generated image slideshows/sliders on each (custom) post?

Basics of my approach to sliders:

  1. Query arguments for selection of posts.
  2. Get The Image (plus custom code and caching when needed) to mine for images.
  3. Separate function for markup generation so it could be easily swapped.
  4. Just add JavaScript slider you like. When you like/need another more just swap markup and script.

Of course this approach is better for pre-configured slider or parameters are generated by code and it doesn’t need to have manual controls.