Hi,
came across this thread whilst looking for a solution to get images to scale properly on ADE and Sony Readers. Max-width & max-height did not work.
The SVG wrapper is working beautifully. However, I cannot get captions to show. This is the first time I have ever used SVG so I am probably making just a really stupid mistake.
Here is the code I am using:
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100%" height="80%" preserveAspectRatio="xMidYMid meet" viewBox="0 0 1024 1595" >
<g><image width="1024" height="1595" xlink:href="../Images/Nikita.jpg" />
<text>test</text>
</g>
</svg>
What I want in the end is that the caption and in some cases a title and a caption stay with the image and are shrunk with it as required to fit the display.
Any thoughts on this???
Thanks,
Ann.
Last edited by Lily123; 01-22-2011 at 03:02 AM.
|