Quote:
Originally Posted by momoha
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.