have index fetch top page and have images endpoint fetch a particular pages json