While in Lesson 4 I learned how to optimize my text for ePUB, in Lesson 5 I worked with images. Now, earlier in these training videos I learned what ePUBs could not do with images, and now I’m learning how to format my InDesign document so that it appears how I want it to in ePUB.
Below is the InDesign document with the images and shapes that I want to export to ePUB.
We have graphic images in a shape of an ellipse and a star, two “text on a path” one with a stroke and one without, an ellipse with text inside, a picture image in the shape of a star, and an arrow. But after exporting the images to an ePUB, most all of this is destroyed.
On the left image I get a warning image and on the right you see what happens to all of the images from the InDesign document.
In order to keep those images in the document in my exported ePUB, I needed to rasterize most of my images. By shift clicking to select all the objects then going to the “Object Export Options…” under Object in the “Preserve Appearance from Layout” I clicked on Rasterize Container so that all images would maintain their appearance.
Next I learned about text wraps, which don’t export correctly in ePubs. Usually the image will appear at the end of the document and in a center alignment because that is the default.
The above image is an example of how this would normally appear.
To change this to a text wrap, in a different example I placed the image into the text frame then anchored the image to the paragraph I wanted the image to be anchored to in the ePUB. Without that anchor it would just appear at the end of the document like the above image.
I then went to “Object Export Options…” and checked the Custom Layout box. By choosing “Float Right” in the drop down box this would allow the text to wrap around the object in the ePUB.