To support the proper sizing and placement of image elements, add the following to the “image” rule in both Topic and Book apps:
element "image"
{
is fm graphic element;
fm property import by reference or copy value is "ref";
writer facet default
{
specify size in pt;
}
attribute "href"
{
is fm attribute "href";
is fm property file;
}
attribute "align"
{
is fm property alignment;
value "left" is fm property value align left;
value "right" is fm property value align right;
value "center" is fm property value align center;
value "current" is fm property value align center;
}
attribute "height"
{
is fm property height;
is fm attribute;
}
attribute "width"
{
is fm property width;
is fm attribute;
}
}