How to Build a Photo Album - Layouts

As referenced in the video above, here is the XML definition of the 30x30cm Photo Album

<definition pages="30" min="30" max="90" add="2" dpi="300" output="vector" minimum-dpi="100" trimbox="true">
    
    <layers>
        <layer name="trim-lines" visibility="fulfillment"/>
    </layers>

    <weight base="120" page="2" />
  
    <map name="binding">
        <val key="30..44">11</val>
        <val key="46..58">16</val>
        <val key="60..88">20</val>
        <val key="90">28</val>
    </map>
  
    <set count="false">
        <captions>
            <left>Back Cover</left> <right>Front Cover</right>
        </captions>
        <page type="cover" position="left-right" width="620" height="310" hinge="14" bleed="5" margin="5" snap="0,3,7">
            <filter type="binding" map="binding" />          
        </page>
    </set>

    <set>
        <captions>
            <left>Page {{n}}</left>
        </captions>  
        <page type="page1" bleed="5" width="310" height="310" />
    </set>
  
    <set grow="true">
        <captions>
            <left>Page {{n}}</left> <right>Page {{n}}</right>
        </captions>
        <page type="page2,page4,page6" bleed="5" width="310" height="310"/>
        <page type="page3,page5" bleed="5" width="310" height="310" />
    </set>

</definition>

Last updated