Gets a PNG export of a Dia diagram as an <img> tag.
To support zoom and high resolution displays, the export is scaled to several different pixel ratios. Through scripting, the client selects the most appropriate export file based on its current pixel ratio. Changes to pixel ratios are also detected and responded to.
This implementation is compatible with the static export feature.
The id used in URL anchors. If not provided, is generated from the label. Must be unique per page. Ids generated from labels will be unique, but may change as page structure changes.
The label displayed. This value is also used in table of contents entries. If not provided, defaults to the last path element of "path".
The book containing the file. Defaults to the book of the current JSP file.
The page-relative path to the file.
The width of the diagram thumbnail in pixels.
When not provided, width is proportionally scaled from height.
When neither width nor height are provided,
width defaults to
The height of the diagram thumbnail in pixels.
When not provided, height is proportionally scaled from width.