I'm trying to include pagination in the cleaner-gallery plugin but I'm getting nowhere with getting a proper page number. Using a single page URL like "<url>/2/" doesn't return a page number as it seems that it is stripped by the canonical rewrite code. This is btw the way page numbering is handled for posts with the "nextpage" tag.
So what should I do to get page numbers for the gallery pages.
All other pagination aspects are working as it should be.