Grouping images per book