getting images, 1st page only per chapter, need improvment