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 
  xmlSourceCache = "true"
  componentLayout = "Horizontal"
  scrollbarMargin = "3"
  scrollbarBgColor = "0xC0C0C0"
  scrollbarRectHeight = "60"
  scrollbarRectColor = "0x707070"
  scrollbarRectHighlight = "0x5882AD"
  buttonBgColor = "0xF0F0F0"
  buttonBgTransparent = "1"
  buttonBorderThickness = "1"
  buttonBorderColor = "0xFFFFFF"
  buttonFaceColor = "0x707070"
  buttonFaceHighlight = "0x5882AD"
  buttonFaceShadowEnable = "false"
  buttonShadowDistance = "1"
  buttonShadowTransparent = "0.5"
  buttonShadowBlur = "3"
  buttonShadowColor = "0x000000"
  buttonShadowEnable = "true"
  imageWidth = "200"
  imageHeight = "211"
  imageMargin = "1"
  imageCornerRadius = "0"
  imageBgColor = "0xFFFFFF"
  imageBgTransparent = "1"
  imageBorderThickness = "1"
  imageBorderColor = "0xCCCCCC"
  imageBorderTransparent = "1"
  imageScaleMode = "Fit"
  imageOnClick = "Zoom"
  imageLoadingColor = "0x000000"
  imageProgressColor = "0x909090"
  imageProgressTransparent = "0.5"
  imageDuration = "3"
  imageTransition = "Fade"
  imageTransitionDuration = "0.5"
  imageAutoStart = "false"
  imageStartRandom = "false"
  imageButtonSlideshowVisible = "true"
  imageButtonZoomVisible = "true"
  imageButtonLinkVisible = "true"
  thumbRows = "2"
  thumbColumns = "3"
  thumbWidth = "100"
  thumbHeight = "105"
  thumbSpaceWidth = "1"
  thumbCornerRadius = "0"
  thumbBgColor = "0xFFFFFF"
  thumbBgTransparent = "1"
  thumbBorderThickness = "1"
  thumbBorderColor = "0xC0C0C0"
  thumbBorderTransparent = "1"
  thumbMarkerThickness = "1"
  thumbMarkerColor = "0x5882AD"
  thumbRollOverEffect = "Alpha"
  thumbImageDesaturate = "false"
  thumbScaleMode = "Fit"
  thumbLoaderSectorColor = "0x909090"
  thumbLoaderProgressColor = "0xFFFFFF"
  tipWidth = "130"
  tipBgColor = "0x262F38"
  tipBgTransparent = "0.8"
  tipCornerRadius = "5"
  tipFontFamily = "Tahoma"
  tipFontSize = "11"
  tipFontColor = "0xCCCCCC"
  popupBgColor = "0x000000"
  popupBgTransparent = "0.7"
  popupFramePadding = "10"
  popupFrameColor = "0xD5D5D5"
  popupCornerRadius = "10"
  popupControlColor = "0xCCCCCC"
  popupControlHighlight = "0xFFFFFF"
  popupFontFamily = "Tahoma"
  popupFontColor = "0x505050"
  popupFontSize = "11"
  popupDescriptionAlign = "Center"
  popupSlideWidth = "0"
  popupSlideHeight = "0"
  popupSlideMargin = "100"
  popupSlideColor = "0xFFFFFF"
  popupLoadingColor = "0x707070"
  popupZoomStep = "0.1"
  popupPanSpeed = "100"
  popupUseMouseDrag = "true"
  popupUsePanButtons = "true"
  popupUseButtonClose = "true"
  popupPrintEnable = "false">
</config>

Attributes

  • xmlSourceCache

    A Boolean value that sets whether gallery.xml file is cached by the browser, acceptable values are (true) or not (false). Turn off this option if you are updating your gallery very often. Note: if you are testing component locally turn on this option.

  • componentLayout

    Layout of the preview image with the thumbnails list. Acceptable values are "Horizontal" and "Vertical".

  • scrollbarMargin

    Margin between scrollbar and the thumbnail list, in pixels.

  • scrollbarBgColor

    Background color of the scrollbar.

  • scrollbarRectHeight

    Scrollbar rectangle height.

  • scrollbarRectColor

    Scrollbar rectangle color.

  • scrollbarRectHighlight

    Scrollbar rectangle highlight color.

  • buttonBgColor

    Background color of the button.

  • buttonBgHighlight

    Background highlight color of the button.

  • buttonBgTransparent

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

  • buttonBorderThickness

    Width of the button border, in pixels.

  • buttonBorderColor

    Color of the button border.

  • buttonFaceColor

    Color of the button icon.

  • buttonFaceHighlight

    Highlight color of the button icon.

  • buttonFaceShadowEnable

    A Boolean value that indicates whether the button icon has shadow (true) or not (false).

  • buttonShadowDistance

    The distance of the shadow from the button, in pixels.

  • buttonShadowTransparent

    Indicates the alpha transparency value of the button shadow. Valid values are 0 (fully transparent) to 1 (fully opaque).

  • buttonShadowBlur

    The ammount of the button shadow blur.

  • buttonShadowColor

    The color of the button shadow.

  • buttonShadowEnable

    A Boolean value that indicates whether the button has shadow (true) or not (false).

  • imageWidth

    Width of the image preview, in pixels.

  • imageHeight

    Height of the image preview, in pixels.

  • imageMargin

    Margin between image preview and the list of thumbnails.

  • imageCornerRadius

    Corners radius of the image preview, in pixels.

  • imageBgColor

    Background color of the image preview.

  • imageBgTransparent

    Indicates the alpha transparency value of the image preview background. Valid values are 0 (fully transparent) to 1 (fully opaque).

  • imageBorderThickness

    Width of the image preview border.

  • imageBorderColor

    Color of the image preview border.

  • imageBorderTransparent

    Indicates the alpha transparency value of the image preview border. Valid values are 0 (fully transparent) to 1 (fully opaque).

  • imageScaleMode

    Image preview scalling mode. This property can be set to Fit or Crop values. Fits in the entire thumbnails cell or fills the thumbnails image cell with a image, cropping the edges of the image as necessary.

  • imageOnClick

    The action, which happen when mouse click on the image preview. Acceptable values are "None", "Zoom" and "Hyperlink".

  • imageLoadingColor

    Color of the loading icon at the image preview.

  • imageProgressColor

    Color of the loading progress icon at the image preview.

  • imageProgressTransparent

    Indicates the alpha transparency value of the loading progress icon at the image preview. Valid values are 0 (fully transparent) to 1 (fully opaque).

  • imageDuration

    Duration of the image preview slide, in seconds.

  • imageTransition

    A string that specifies type of the image preview transition. Acceptable values are "Fade", "Light", "Swirl", "FishEye" and "Perlin".

  • imageTransitionDuration

    Duration of the of the image preview transition, in seconds.

  • imageAutoStart

    A Boolean value that indicates whether the slideshow autostart of the image preview is turned on (true) or not (false).

  • imageStartRandom

    A Boolean value that indicates whether the slideshow of the image preview starts from a random slide (true) or not (false).

  • imageButtonSlideshowVisible

    A Boolean value that indicates whether the slideshow button at the image preview is visible (true) or not (false).

  • imageButtonZoomVisible

    A Boolean value that indicates whether the Zoom button at the image preview is visible (true) or not (false).

  • imageButtonLinkVisible

    A Boolean value that indicates whether the hyperlink button at the image preview is visible (true) or not (false).

  • thumbRows

    Number of the rows in thumbnails. If set "0" so the extensin will automatically set necessary number of rows according the numbers columns.

  • thumbColumns

    Number of the columns in thumbnails. If set "0" so the extensin will automatically set necessary number of columns according the numbers rows.

  • thumbWidth

    Width of the thumbnails, in pixels.

  • thumbHeight

    Height of the thumbnails, in pixels.

  • thumbSpaceWidth

    Width between thumbnails in thumbnails list, in pixels.

  • thumbCornerRadius

    Radius of the thumbnails corners, in pixels.

  • thumbBgColor

    Background color of the thumbnails.

  • thumbBgTransparent

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

  • thumbBorderThickness

    Width of the thumbnails borders, in pixels.

  • thumbBorderColor

    Color of the thumbnails border.

  • thumbBorderTransparent

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

  • thumbMarkerThickness

    Width of the marker in thumbnails list, in pixels.

  • thumbMarkerColor

    Color of the thumbnails marker.

  • thumbRollOverEffect

    A string that specifies type of the thumbnails rollover effect. Acceptable values are "Alpha" and "Brightness".

  • thumbImageDesaturate

    A Boolean value that indicates whether the thumbnails are desaturated (true) or not (false).

  • thumbScaleMode

    Thumbnails scalling mode. This property can be set to Fit or Crop values. Fits in the entire thumbnails cell or fills the thumbnails image cell with a image, cropping the edges of the image as necessary.

  • thumbLoaderSectorColor

    Color of the loading icon at the thumbnails.

  • thumbLoaderProgressColor

    Color of the loading progress icon at the thumbnails.

  • tipWidth

    Width of the floating tip with caption, in pixels.

  • tipBgColor

    Background color of the floating tip.

  • tipBgTransparent

    Indicates the alpha transparency value of floating tip. Valid values are 0 (fully transparent) to 1 (fully opaque).

  • tipCornerRadius

    Corners radius of the floating tip, in pixels.

  • tipFontFamily

    Font family of the floating tip.

  • tipFontSize

    Font size of the floating tip.

  • tipFontColor

    Font color of the floating tip.

  • popupBgColor

    Background color of the popup window.

  • popupBgTransparent

    Indicates the alpha transparency value of popup window. Valid values are 0 (fully transparent) to 1 (fully opaque).

  • popupFramePadding

    Padding from the edge of the popup to the slide, in pixels.

  • popupFrameColor

    Color of the frame in the popup.

  • popupCornerRadius

    Corners radius of the popup window.

  • popupControlColor

    Color of the controls in popup window.

  • popupControlHighlight

    Highlight color of the controls in popup window.

  • popupFontFamily

    Font family of the popup window.

  • popupFontColor

    Font color of the popup window.

  • popupFontSize

    Font size of the popup window.

  • popupDescriptionAlign

    A string that specifies how to align description in popup window. Acceptable values are "Left", "Center", "Right" and "Justify".

  • popupSlideWidth

    Width of the slide in popup window, in pixels. If set "0" so popup window will take the whole width of the browser screen, except Slide Margin.

  • popupSlideHeight

    Height of the slide in popup window, in pixels. If set "0" so popup window will take the whole height of the browser screen, except Slide Margin.

  • popupSlideMargin

    Margin between popup slide and the edge of browser screen, in pixels.

  • popupSlideColor

    Background color of the slide in popup window.

  • popupLoadingColor

    Color of the loading icon in popup window.

  • popupZoomStep

    Zoom step in popup window. Step in "0,1" means step in 10%.

  • popupPanSpeed

    Pan speed, pixels in seconds.

  • popupUseMouseDrag

    A Boolean value that indicates whether the mouse drag in popup window is turned on (true) or not (false).

  • popupUsePanButtons

    A Boolean value that indicates whether the pan buttons are visible (true) or not (false).

  • popupUseButtonClose

    A Boolean value that indicates whether the close button in popup visible (true) or not (false).