started working on the image viewer. So I created a query for it, created the /images/{id} page and started loading the images via ajax on the /record/{id} page