Quote:
Originally Posted by RbnJrg
|
I think that the code that I suggested is much more convenient as no calculation has to be made, and no size has to be written in the ePub. If you have to process a book with hundred of images, this is a big thing, as my code can be implemented using regex, versus yours where you have to enter the pixel size every time. And, the proper semantic can be used, with figcaption. For me it works perfectly on all my devices, but I would really appreciate if you can test my code on your side too!
BUT, as I wrote in my edit, it seems that many resellers and even Apple highly discourage the use of an image in a <svg> tag, and some even change the code automatically and hence mess it up. Personally, I’ve been using that method since a few years and we didn’t get any problems with our resellers, but I guess it’s a risky thing to go with that code.