Skip to content
Discussion options

You must be logged in to vote

I assume something like this might work:

<Otherwise>
  <Table width="8.5" stretch="max">
    <SetVariable variable="readimglabel" select="img/@file" />
    <!-- $mw = count(images) -->
    <Loop select="$mw idiv 2" variable="i">
      <SetVariable variable="imglabel" select="concat($readimglabel,$i)" />
      <Tr minheight="{sd:group-height('unit') div $mw}">
        <Td valign="middle" align="center">
          <Image file="{img/@file[ position() =  ( $i - 1 ) * 2 + 1 ]}" stretch="yes" maxheight="{sd:group-height('unit') div ($mw * 1.2)}" maxwidth="{8}" />
          <!-- IMAGE'S NAME TEMP -->
          <Switch>
            <Case test="sd:mode('label')">
              <Paragraph color="red" 

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
3 replies
@pgundlach
Comment options

@pgundlach
Comment options

@Cicorione
Comment options

Comment options

You must be logged in to vote
5 replies
@pgundlach
Comment options

@pgundlach
Comment options

@pgundlach
Comment options

Answer selected by Cicorione
@Cicorione
Comment options

@pgundlach
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants