Is it possible to control specific images for "Number of images per page"?

Im using a subclass of ImageGallery - 'MyImageGallery' and have set up a check box (Set) to hide certain images which are part of a set so they hide the thumbnails but are still part of the gallery.
However I just started using it with "Number of images per page" and it still counts the hidden thumbs, therefore not showing the full amount per page. Can I control which images are counted in the "Number of images per page" count?

Yeah, this is the sort of complication you're going to run into when you remove an object from the display and not the recordset itself. What you really should be doing is filtering the query so that those non "Set" records aren't even counted.