Specification of the configuration file

PREV
NEXT

The following example shows the basic structure of configuration XML file:

<?xml version = "1.0" encoding = "utf-8"> 
<config 
  xmlSource = "gallery.xml"
  serverScript = ""
  textFontFamily = "Tahoma"
  textFontColor = "0xCCCCCC"
  textFontSize = "11"
  textFontBold = "false"
  cornerRadius = "0"
  shadowDistance = "2"
  shadowBlur = "4"
  localizationOf = "of"
  localizationPage = "Page"
  cellsRows = "3"
  cellsColumns = "3"
  cellsWidth = "160"
  cellsHeight = "180"
  cellsSpaceWidth = "-1"
  cellsColor = "0x909090"
  cellsHighlight = "0xBBBBBB"
  cellsTransparent = "100"
  cellsBorderWidth = "1"
  cellsBorderColor = "0x505050"
  cellsBorderTransparent = "100"
  cellsNumberColor = "0xA0A0A0"
  cellsNumberHighlight = "0x909090"
  cellsNumberSize = "40"
  cellsNumberVisible = "true"
  thumbWidth = "130"
  thumbHeight = "90"
  thumbCornerRadius = "0"
  thumbBorderWidth = "1"
  thumbBorderColor = "0x303030"
  thumbBorderTransparent = "70"
  thumbScaleMode = "Fill"
  thumbShadow = "true"
  thumbCaptionFontFamily = "Tahoma"
  thumbCaptionFontColor = "0xF0F0F0"
  thumbCaptionFontSize = "11"
  thumbCaptionFontBold = "false"
  thumbCaptionAlign = "Top"
  thumbOnClick = ""
  slideWidth = "400"
  slideHeight = "300"
  slideBgColor = "0x808080"
  slideBgTransparent = "100"
  slideBorderWidth = "10"
  slideBorderColor = "0x000000"
  slideBorderTransparent = "50"
  slideAlign = "Fill"
  slideShadow = "true"
  slideDescriptionFontFamily = "Tahoma"
  slideDescriptionFontColor = "0xCCCCCC"
  slideDescriptionFontSize = "11"
  slideDescriptionFontBold = "false"
  slideDescriptionAlign = "Center"
  slideDuration = "3"
  slidesAutoStart = "false"
  slidesFrameBgColor = "0x505050"
  slidesFrameBgTransparent = "100"
  slidesFrameBorderWidth = "1"
  slidesFrameBorderColor = "0x808080"
  slidesFrameBorderTransparent = "100"
  loadingStyle = "Bytes"
  linkCaption = "View Full-Size"
  linkColor = "0xDDDDDD"
  linkHighlight = "0xFFFFFF"
  linkVisible = "true"
  linkAction = "Enlarge"
  controlsColor = "0xFFFFFF"
  controlsBgColor = "0xA0A0A0"
  controlsBgHighlight = "0xCCCCCC"
  controlsBorderColor = "0x808080"
  controlsFontColor = "0xCCCCCC"
  navigationVisiblePages = "10"
  navigationFontColor = "0x505050"
  navigationMarginHorizontal = "0"
  navigationVisible = "true"
  splitLineColor = "0xBBBBBB"
  splitLineThickness = "1"
  splitLineMarginTop = "10"
  splitLineMarginBottom = "5"
  splitLineVisible = "true">
</config>

Attributes

  • xmlSource

    The absolute or relative URL of the XML file with the structure of the contents of the component. A relative path must be relative to the HTML file. Absolute URLs must include the protocol reference, such as http://. Read more information about XML content file in the topic 'Working with XML content'.

  • serverScript

    The absolute or relative URL of the ASPX or PHP file is used. A relative path must be relative to the HTML file. Absolute URLs must include the protocol reference, such as http://. Read more information about server script in the topic 'Using server scripts'.

  • textFontFamily

    The font name for text.

  • textFontSize

    The point size for the font.

  • textFontColor

    The text color.

  • cornerRadius

    An integer value that sets the radius of all corners of the gallery.

  • shadowDistance

    The offset distance for the shadow, in pixels.

  • shadowBlur

    The amount of the shadow blur.

  • localizationOf

    Localization of language. Translated 'Of' into another language.

  • localizationPage

    Localization of language. Translated 'Page' into another language.

  • cellsRows

    The number of rows in the grid.

  • cellsColumns

    The number of columns in the grid.

  • cellsWidth

    The width of the cells, in pixels.

  • cellsHeight

    The height of the cells, in pixels.

  • cellsSpaceWidth

    The width of space between cells, in pixels.

  • cellsColor

    The color of the cells.

  • cellsHighlight

    The highlight color of the cells.

  • cellsTransparent

    Indicates the alpha transparency value of the cells. Valid values are 0 (fully transparent) to 100 (fully opaque).

  • cellsBorderWidth

    The width of the border of the cells, in pixels.

  • cellsBorderColor

    The color of the border of the cells.

  • cellsBorderTransparent

    Indicates the alpha transparency value of the border of the cells. Valid values are 0 (fully transparent) to 100 (fully opaque).

  • cellsNumberColor

    The color of the numbers on the cells.

  • cellsNumberHighlight

    The highlight color of the numbers on the cells.

  • cellsNumberSize

    The point size for the font of the numbers on the cells.

  • cellsNumberVisible

    A Boolean value that indicates whether the numbers on the cells is visible.

  • thumbWidth

    The width of the thumbnails, in pixels.

  • thumbHeight

    The height of the thumbnails, in pixels.

  • thumbCornerRadius

    An integer value that sets the radius of all corners of the thumbnails.

  • thumbBorderWidth

    The width of the border of the thumbnails, in pixels.

  • thumbBorderColor

    The color of the border of the thumbnails.

  • thumbBorderTransparent

    Indicates the alpha transparency value of the border of the thumbnails. Valid values are 0 (fully transparent) to 100 (fully opaque).

  • thumbScaleMode

    The thumbScaleMode property determines how the thumbnail contents are adjusted. This property can be set to Fit and Fill values. Fits to the entire thumbnail cell or fills the entire thumbnail cell with an image, cropping the edges of the image as necessary.

  • thumbShadow

    A Boolean value that indicates whether it would be added drop shadow to the thumbnails (true) or not (false).

  • thumbCaptionFontFamily

    The font name of the caption of the thumbnails.

  • thumbCaptionFontColor

    The color of the caption of the thumbnails.

  • thumbCaptionFontSize

    The font size of the caption of the thumbnails.

  • thumbCaptionFontBold

    Specifies whether the caption of the thumbnails is boldface.

  • thumbCaptionAlign

    A string that specifies how to align the caption in the thumbnails. Acceptable values are "Top", "Center" and "Bottom".

  • thumbOnClick

    The name of the javascript function that is called when a mouse click on the thumbnail. Number slide is passed as an argument.

  • slideWidth

    The width of the slide, in pixels.

  • slideHeight

    The height of the slide, in pixels.

  • slideBgColor

    The background color of the slide.

  • slideBgTransparent

    Indicates the alpha transparency value of the background of the slide. Valid values are 0 (fully transparent) to 100 (fully opaque).

  • slideBorderWidth

    The width of the border of the slide, in pixels.

  • slideBorderColor

    The color of the border of the slide.

  • slideBorderTransparent

    Indicates the alpha transparency value of the border of the slide. Valid values are 0 (fully transparent) to 100 (fully opaque).

  • slideScaleMode

    The slideScaleMode property determines how the slide contents are adjusted. This property can be set to Fit and Fill values. Fits to the entire slide cell or fills the entire slide cell with an image, cropping the edges of the image as necessary.

  • slideShadow

    A Boolean value that indicates whether it would be added drop shadow to the slide (true) or not (false).

  • slideDescriptionFontFamily

    The font name of the description of the slide.

  • slideDescriptionFontColor

    The font color of the description of the slide.

  • slideDescriptionFontSize

    The font size of the description of the slide.

  • slideDescriptionFontBold

    Specifies whether the description of the slide is boldface.

  • slideDescriptionAlign

    A string that specifies how to align the caption. Acceptable values are "Left", "Center", "Right" and "Justify".

  • slideDuration

    A number that indicates the length of time between transitions slides, in seconds.

  • slidesAutoStart

    A Boolean value that indicates whether to auto start slide show (true) or not (false).

  • slidesFrameBgColor

    The background color of the slide frame.

  • slidesFrameBgTransparent

    Indicates the alpha transparency value of the background of the slide frame. Valid values are 0 (fully transparent) to 100 (fully opaque).

  • slidesFrameBorderWidth

    The width of the border of the slide frame, in pixels.

  • slidesFrameBorderColor

    The color of the border of the slide frame.

  • slidesFrameBorderTransparent

    Indicates the alpha transparency value of the border of the slide frame. Valid values are 0 (fully transparent) to 100 (fully opaque).

  • loadingStyle

    A string that specifies how to display the progress loading slide. Acceptable values are "Bytes" and "Percent".

  • linkCaption

    The caption of the link button under the slide. Default value is "View Full-Size".

  • linkColor

    The color of the link button.

  • linkHighlight

    The highlight color of the link button.

  • linkVisible

    A Boolean value that indicates whether the link button is visible.

  • linkAction

    The action, which happen when mouse click on the link button under the slide. Acceptable values are "Enlarge" and "GetLink".

  • controlsColor

    The color of the controls.

  • controlsBgColor

    The background color of the controls.

  • controlsBgHighlight

    The background highlight color of the controls.

  • controlsBorderColor

    The color of the border of the controls.

  • controlsFontColor

    The color of the text in the controls.

  • navigationVisiblePages

    The number of visible icons of the pages in the navigation bar.

  • navigationFontColor

    The color of the text in the navigation elements.

  • navigationMarginHorizontal

    The horizontal margin of the navigation bar, in pixels.

  • navigationVisible

    A Boolean value that indicates whether the navigation is visible.

  • splitLineColor

    The color of the split line between thumbnails and navigation bar.

  • splitLineThickness

    An integer that specifies the thickness of a split line.

  • splitLineMarginTop

    The top margin of the split line, in pixels.

  • splitLineMarginBottom

    The bottom margin of the split line, in pixels.

  • splitLineVisible

    A Boolean value that indicates whether the split line is visible.