refs #18. Implemented book image resizing if too big and thumnail creation