View Single Post
Old 11-10-2016, 01:12 PM   #28
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,850
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by Turtle91 View Post
It sounds like you haven't updated the width and height properly on your svg files. You need to do that in two places for each svg:
Code:
<div class="fullimg">
    <svg xmlns="http://www.w3.org/2000/svg" height="100%" preserveAspectRatio="xMidYMid meet" 
     version="1.1" viewBox="0 0 width height" width="100%"
     xmlns:xlink="http://www.w3.org/1999/xlink">
      <image width="0" height="0" xlink:href="../Images/image.gif"></image>
    </svg>
  </div>
ADE has a bug for svg wrappers in epub3. Your code can be perfect but images are going to be showed very tiny SVG wrappers that work under epub2, they don't under epub3. As a workaround, you should include SVG images inside a css table (read the post #18 of this thread.

Regards
RbnJrg is offline   Reply With Quote