view doc/album.xml @ 6:3021deef1599

Encoding related fixes * chomp encoding string * reformat else (seems someone hacked it in) * debug print encoding * do not use :utf8 binmode ("re-encode") on written file if the input is _already_ UTF-8
author Peter Gervai <grin@grin.hu>
date Thu, 16 Oct 2008 00:02:14 +0200
parents a84c32f131df
children
line wrap: on
line source

<?xml version="1.0" encoding="UTF-8"?>

<!-- this is a sample album.xml -->
<album>
   <description>

    <!-- All the fields in the description section can be edited using
    bins_edit (see the man page) -->
    <field name="longdesc">
      This is my holidays pictures taken during various travels.
    </field>
    
    <field name="title">
      Holidays
    </field>
    
    <field name="shortdesc">
      Holidays pictures.
    </field>
    
    <field name="sampleimage">
      Travel1/IMG_0005.JPG
    </field>
   </description>
   <bins>

    <!-- Here in the bins section, you can set various parameters to
    change apparence of album. See bins man page a the sample binsrc
    file for a detailed description of all available parameters. You
    can also put most of these parameters in the bins section of the
    image description file, if you want to customize only one picture,
    and not the whole album.-->
    <parameter name="colorStyle">
      green
    </parameter>
    <parameter name="previewMaxWidth">
      150
    </parameter>
    <parameter name="previewMaxHeight">
      150
    </parameter>
    <parameter name="numThumbsPerPage">
      20
    </parameter>
    <parameter name="thumbsPerRow">
      5
    </parameter>
    <parameter name="titleOnThumbnail">
      0
    </parameter>
    <parameter name="thumbnailInImageList">
      1
    </parameter>
    <sizes>
      <size name="Small" shortname="Sm" height="64%" width="64%"/>
      <size name="Large" shortname="Lg" height="100%" width="100%"/>
    </sizes>
  </bins>
</album>