DownThemAll! is a very useful Firefox extension that lets you download all the links or images contained in a web page, with powerful filters and stuff.
After some months of use I almost accidentally found that you can also specify patterns for downloads using batch descriptors, e.g. if you want to download all pictures from #10 to #25 from your gallery you would use the following URL:
6 hours ago