JackSVG FAQ

Images

How do I put pictures in my presentations?

Use the image element in the presentation file. Specify the image file using the xlink:href attribute. Note: you must use a local installation of JackSVG to handle images, you cannot use the online service to do this. See the examples that came with JackSVG.

You can optionally set the dimensions of the image using width and height attributes. If you do not, then JackSVG will attempt to determine the natural dimensions of the image by examining the image file. For this to work properly, with external SVG image files, you must also place an attribute type="image/svg+xml". For other image formats (e.g. JPEG and PNG), the type attribute is optional.

How do I see the images, they come out totally blank?

Firstly, make sure you are using a modern SVG viewer that supports external images. Some older versions don't.

Secondly, the images in the generated SVG file are referenced using the value that was supplied in the xlink:href attribute. Often this will be a location relative to the presentation file. Make sure that the image files are stored in a location similarly relative to the SVG file.

I can see the images, but there's no interactivity or animations in my SVG images.

This is a limitation with the current version of Adobe's SVG viewer (version 3.0). One solution is to manually embed the externally referenced SVG image into the presentation SVG file - step-by-step instructions on how to do this was posted to the titanium-dev mailing list.

Printing

How do you print the presentations?

With current SVG viewers you cannot successfully print out the SVG slides. Use the XSLT scripts found in the examples/xslt directory to convert the presentation into HTML or XSL-FO which can then be printed.

Last updated: $Date: 2002/12/11 06:05:31 $