I think the issue is that if the images are not inline with the text, as opposed to being in separate frames, ID will not export them in the proper order. So the change the OP is asking about needs to be made in ID before exporting as epub.
That said, I don't know the answer, as I am not an ID person. Sorry!
|