View Single Post
Old 01-30-2019, 06:38 AM   #20
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,567
Karma: 7043711
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by momoha View Post
I have to say again that Jiminy Panoz did say that using <img> inside a <svg> tag can be deadly as some resellers automatically reformat the code. And even Apple discourage that uses... So I guess it’s a "use at your own risk" kind of code.
It's perfectly secure to employ the tag <image> (not <img>) inside a svg wrapper. What is not secure is to employ the "vh" measure unit. I tested the epubs in my previous post and they works fine under Sigil, Calibre, ADE, Readium and Azardi. The only drawback is that the caption not always remains with the picture. I had to force a bit the things to get that. As you can see, I used px as measure unit in the caption. Of that way the text doesn't resize and always is displayed together with the image.
RbnJrg is offline   Reply With Quote