I cant seem to be able to size down the image on this SVG tool.

Asked by Joel on 2013-07-24

I just cant size down the image when I try putting widht and height on the code of my website it only shows part of the image. Is it possible to size down the image to a smaller size.

Question information

Language:
English Edit question
Status:
Solved
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Solved by:
Joel
Solved:
2013-07-27
Last query:
2013-07-27
Last reply:
2013-07-26

The image you're publishing on your website is it an saved SVG file or have you exported a bitmap?

Joel (joelsymon) said : #2

It is a saved SVG file and if it makes any difference I used this code :
<embed src="drawing.svg" type="image/svg+xml" width="12" height="15"/>

On 07/25/2013 01:46 AM, Christoffer Holmstedt wrote:
> Your question #232983 on Inkscape changed:
> https://answers.launchpad.net/inkscape/+question/232983
>
> Status: Open => Needs information
>
> Christoffer Holmstedt requested more information:
> The image you're publishing on your website is it an saved SVG file or
> have you exported a bitmap?
>

Thanks for sharing your code. This is not really Inkscape specifics but...anyway.

When importing SVG into HTML I usually go with <img> tag though I've never used interactive SVGs. With interactive SVGs <object> is the way to go. Your options are available in a good summary at http://www.sitepoint.com/add-svg-to-web-page/ . The image tag allows to add width and height as well and I suggest you add "px" or some other unit to it to be more specific.

Joel (joelsymon) said : #4

Than You for the help :)