So you want to grab all the photos from a web site do you? Here's how:
wget -nd -r -A jpg -e robots=off http://wherever.tld
This will put all the photos from the web site you reference (and all lower directories) to a single directory. This will not magically grab photos from a directory which has no page attached to it and has random names.
If you do know the names are sequential numbers then you can try:
wget -nd -r -A jpg -e robots=off http://wherever.tld/gallery/{0..1000}.jpg