If you are looking for a block I might be able to do it. The hard would be to figure out how to get it to pull an image from the gallery and get it to auto move to the next image without reloading the page.
When the page is initially hit have it pull 1 pics into "memory" then rotate those and for every page hit / refresh therafter it would select a new set of 10 pics, slide those into memory and rotate through them until next page hit / refresh so on and so forth.