add image attribute to book