Generalize image gathering