Quote:
Originally Posted by RbnJrg
Great job!! The svg image managment is perfect; just I would made the following change in your dummy.svg file:
1. Instead of:
Code:
<svg id="dummysvg" xmlns="http://www.w3.org/2000/svg" height="60" viewBox="0 0 200 60" width="100" version="1.1">
I would use:
Code:
<svg id="dummysvg" xmlns="http://www.w3.org/2000/svg" height="60" viewBox="0 0 200 60" width="200" preserveAspectRatio="none" version="1.1">
Of that way, the svg image will occup the space of the original svg image. (of course, the text "SVG image" will be a bit distorted  ) What do you thing?
|
Thank you
Yes, yours is much better, all the other dummy images may also be distorted according to css values, so no reason for the dummy svg to be different.
I'll change the dummy.svg file and repost now. (The width="100" was a typo error in mine, anyway

. It should have been "200"). The preserveAspectRatio="none" is a good idea. Thanks.