Thread:Extension talk:DynamicPageList (Wikimedia)/gallery mode: images only?

The gallery mode is useful but it can't exclude other files than images. would an option to check for the mime type be too heavy?