Try the following configuration:
The commands that use the TOC mechanism needs ...
The problem is that tex4ebook break document into standalone HTML files at beginning of each chapter, so the \chapterimage is placed at the end of the previous chapter. I would redefine this command to just save the image address and caption. This information can be reused in the \chapter command. This ensures that the image is placed in the right file and ...