Answers.Body: <p>First, I don't know what your problem is. Is the problem that the images are shrunk or that there is space above or below the images? </p>
  
  <p>The current trend is for ebook publishers to allow high resolution images and then to shrink them automatically or according to the percentages you specify. </p>
  
  <p>I am working on a similar problem (and documented some of my helpful resources here: <a href="https://ebooks.stackexchange.com/questions/5996/interior-image-requirements-for-non-kindle-distributors-devices-with-retina-di/6027#6027">Interior Image requirements for non-Kindle distributors &amp; devices with retina displays?</a> ). 
  I haven't tested yet on the ibooks platforms, but I can speak about the kind of solution you are seeking. My guess is that the solution you want is similar to what I am doing. </p>
  
  <p>First, you need to use css media queries. Second, you need to specify the width of the div containing the image. Here's an example to get you started. For HTML code:</p>
  
  <pre><code>&lt;div class=image-replace-title&gt;
  &lt;img/&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Here would be the CSS code I am using.       </p>
  
  <pre><code>@media only screen 
    and (min-device-width: 320px) 
    and  (max-device-width: 767px) 
    {
  
  div.image-replace-title  {
  width: 94%;
    margin-left:  auto;
     margin-right:  auto;
  }
  
  div.image-replace-title img {
  width: 100%;
  display: inline;}
  
      }
  
          @media only screen 
    and (min-device-width: 768px)
    and (orientation: portrait)
  
    {
      div.image-replace-title  {
      width: 80%;
      max-width: 684px;
        margin-left:  auto;
         margin-right:  auto;
      }
  
      div.image-replace-title img {
      width: 100%;
      display: inline;
          }
  
          }
  </code></pre>
  
  <p>For the record, the first media query is for iphones, the second one is for ipads 1-4. I think I added one more media query for dimensions over 1200 pixels.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-04T16:40:44.527Z
Answers.LastActivityDate: 2015-09-04T16:40:44.527Z
Answers.LastEditDate: 2017-04-13T13:00:05.480Z
Answers.UserDisplayName: idiotprogrammer
Body: <p>I am using images with 1400 px width in the EPUB. While reviewing the file in iPAD with iOS 8.4 and iBooks 4.3, I have noticed that the images are automatically shrinked to its screensize with space above and below the images. But this is not the case in iBooks 3.2 App. </p>
  
  <p>If anyone encountered similar issue and solution to this would be appreciated.</p>
  
  <p>Thanks,
  Senthil Kumar R</p>
  
Tags: <kindle><epub>
Title: Images issue in iBooks 4.3 on ios 8 (iPad 2)
UserDisplayName: senthil kumar
ThreadText: # Images issue in iBooks 4.3 on ios 8 (iPad 2)
  
  (Asked by: username_0 on 2015-09-04)
  
  I am using images with 1400 px width in the EPUB. While reviewing the file in iPAD with iOS 8.4 and iBooks 4.3, I have noticed that the images are automatically shrinked to its screensize with space above and below the images. But this is not the case in iBooks 3.2 App.
  
  If anyone encountered similar issue and solution to this would be appreciated.
  
  Thanks,
  username_0 R
  
  **Tags:** kindle, epub
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-09-04. Score: 1
  
  First, I don't know what your problem is. Is the problem that the images are shrunk or that there is space above or below the images?
  
  The current trend is for ebook publishers to allow high resolution images and then to shrink them automatically or according to the percentages you specify.
  
  I am working on a similar problem (and documented some of my helpful resources here: [Interior Image requirements for non-Kindle distributors & devices with retina displays?](https://ebooks.stackexchange.com/questions/5996/interior-image-requirements-for-non-kindle-distributors-devices-with-retina-di/6027#6027) ).
  I haven't tested yet on the ibooks platforms, but I can speak about the kind of solution you are seeking. My guess is that the solution you want is similar to what I am doing.
  
  First, you need to use css media queries. Second, you need to specify the width of the div containing the image. Here's an example to get you started. For HTML code:
  
  ```
  <div class=image-replace-title>
  <img/>
  </div>
  
  ```
  
  Here would be the CSS code I am using.
  
  ```
  @media only screen 
    and (min-device-width: 320px) 
    and  (max-device-width: 767px) 
    {
  
  div.image-replace-title  {
  width: 94%;
    margin-left:  auto;
     margin-right:  auto;
  }
  
  div.image-replace-title img {
  width: 100%;
  display: inline;}
  
      }
  
          @media only screen 
    and (min-device-width: 768px)
    and (orientation: portrait)
  
    {
      div.image-replace-title  {
      width: 80%;
      max-width: 684px;
        margin-left:  auto;
         margin-right:  auto;
      }
  
      div.image-replace-title img {
      width: 100%;
      display: inline;
          }
  
          }
  
  ```
  
  For the record, the first media query is for iphones, the second one is for ipads 1-4. I think I added one more media query for dimensions over 1200 pixels.
  
  
  ---
  
  