In reply to Ryan Hellyer.

You can just grab all linked images instead of relying on ID's.