Opening a new file when you reach the end of the chapter manually is somewhat tedious, so you should add a function so that when you reach the last image, when the user wants to move on to the next one, they open the chapter next.
There's already an option in the preferences to automatically open the next file when you reach the end of the current one and try to go to the next page, is that what you are looking for?
Opening a new file when you reach the end of the chapter manually is somewhat tedious, so you should add a function so that when you reach the last image, when the user wants to move on to the next one, they open the chapter next.