bell notificationshomepageloginedit profileclubsdmBox

10.01% popularity   0 Reactions

I am using Apple Pages to create an eBook (I know I should have used InDesign, I will use it for the next one!). All the text is there, I have used headings and I am very pleased with the result. However... When I export it to ePub, the images are not centered. They are centered when using PDF. Have a look at my image settings in Pages in the following screenshot:

The image (this is one example, but all +150 images are shown this way) is aligned in the center using the "Align" function you can see at the right, but when I select "Center", it does not move (because it is in the center already) and it switches back to Align. I am not sure whether this is good or bad.

As you can see, the image is aligned to the right when I export the book to ePub and open it with Mac iBooks. It looks exactly the same on my iPad / iPhone. The image is cutoff as well: look at the difference between the images shown in the screenshots I added in this post.

How can I get the ePub images to be centered?


Free books android app tbrJar TBR JAR Read Free books online gutenberg


Load Full (1)

Login to follow story

More posts by @Jessie

1 Comments

Sorted by latest first Latest Oldest Best

10% popularity   0 Reactions

The right alignment results from the margin-left:16.5528% in the span surrounding the image. I am not sure if you can change that in Apple Pages.
I would experiment with Position (at the bottom of your screen) essentially
there should be no position in cm associated to something centered, as you
cannot know (in an ePub) the width of the page up-front.

If you cannot switch that off, you can resort to cleaning the epub with a script, this seems easy enough to find (e.g. using CSS locater span > img and changing the style on the parent of that img)


Free books android app tbrJar TBR JAR Read Free books online gutenberg


Load Full (0)

 

Back to top