Pages: 1
Print
Author Topic: Image Inline  (Read 1404 times)
zeradius87
Member

Posts: 4


« on: February 26, 2014, 02:44:01 AM »

Hi

I just need some help please.

With the xm_image_size_fix.xsl file used to customize images what happens now is that all the images ignores the placement value "Inline" and "Break".

Here is the code:

<xsl:template name="placeImage">
        <xsl:param name="imageAlign"/>
        <xsl:param name="href"/>
        <xsl:param name="height"/>
        <xsl:param name="width"/>
        <!--Using align attribute set according to image @align attribute-->
        <xsl:call-template name="processAttrSetReflection">
            <xsl:with-param name="attrSet" select="concat('__align__', $imageAlign)"/>
            <xsl:with-param name="path" select="'../attrs/xm-cfg/commons-attr.xsl'"/>
        </xsl:call-template>

        <!-- scale all images -->
        <fo:block>
            <fo:external-graphic src="url({$href})" content-width="scale-to-fit" content-height="100%" width="100%" scaling="uniform" />
        </fo:block>

    </xsl:template>


What can i add so if I want to specify the placement of the image?

Kind Regards
Logged
Pages: 1
Print
Jump to: