moved to InDesign Epub forum.
From your post, it seems that you are on CC 2014. To help you out with this, I would need more details from you. Could you please post screenshots of the final result or I should say the problem as it is still not clear to me.
It really isn't a problem, just a question as to whether or not putting a caption BEFORE an image rather than under the image as is normally done would be considered a horrible blunder. I like the captions before the image because of their length and when I placed them in the normal caption way, below the image, they seemed to be way too close to the image without any spacing between the caption and the image and I didn't like the way they looked.. I suppose that could be remedied by adding a forced line break, but I like the way I have them appearing now BEFORE the image -- the caption is really part of the text that comes before the image and leads people into looking at it.