Skip to main content
Participant
July 6, 2023
Answered

Image cannot be scaled proportionally after exporting to epub format

  • July 6, 2023
  • 1 reply
  • 313 views

After I export to epub from InDesign, if this epub only contains images, the images in the exported epub will be scaled according to a fixed aspect ratio.

 

But if this epub contains text, then the images in the exported epub will not be scaled according to a fixed aspect ratio.  

I did see someone mention the export option in a discussion with others in the community, but it didn't work out for me.

For epub reader I use calibre. 

This topic has been closed for replies.
Correct answer James Gifford—NitroPress

First, kudos for using a good, "vanilla" EPUB reader. That removes a lot of variables from the equation. 

 

Image sizing in EPUB is complex and does, or can, depend on the base font size as the reader interprets it. Here is a fairly complete primer on how to get the image results you want from ID to EPUB:

 

https://www.nitrosyncretic.com/DPR/dpr_indesign_epub_image_mgmt.php

 

Ask away if it leaves any questions. 

1 reply

James Gifford—NitroPress
Legend
July 6, 2023

First, kudos for using a good, "vanilla" EPUB reader. That removes a lot of variables from the equation. 

 

Image sizing in EPUB is complex and does, or can, depend on the base font size as the reader interprets it. Here is a fairly complete primer on how to get the image results you want from ID to EPUB:

 

https://www.nitrosyncretic.com/DPR/dpr_indesign_epub_image_mgmt.php

 

Ask away if it leaves any questions. 

Participant
July 6, 2023

Thank you for the great article! although it doesn't provide a clear answer it has inspired me. My problem was solved after I set the object style to none

James Gifford—NitroPress
Legend
July 6, 2023

It is a bit erratic how ID transfers format info to EPUB, so info carried by an object style might get there as expected, or in a fragmented way that causes unwanted results.

 

The main omission is that ID won't export anything based on (CSS) padding, so the use of spacing has to follow some odd rules.