Added image resizing and book sorting