Photo Gallery? - A (maybe not thought-through) feature request idea

You could create a Smart Group.

If you use Script: Create or change smart group(s) it’s just

  • run script
  • type kind:image

And if you want to create Smart Groups in more than one group simply select more groups.