Copyright by Propagator.net , Author: Joey Wong [Huang JunYan] Version: 1.0


II.Using SlideCrab.


2.1 Configuration

You can easily to setup your typical setting for SlideCrab's common elements, for examples: caption bar,watermark,slide buttons,slide seconds etc. So you don't need to set them for each slide show.

At first,Please see following the measure guide:



Following are the default setting for SlideCrab:

Slide system setting

$SLIDECRAB_SETTING['SITE_NAME'] - Site's name.

$SLIDECRAB_SETTING['ABS_URL'] - SlideCrab's absolute URL,eg: http://www.propagator.net/slidecrab/ (Don't forget include / mark at the end)

$SLIDECRAB_SETTING['SERIALNUM'] - SLIDECRAB Serial number (for registered version).

$SLIDECRAB_SETTING['FLASHPLAYER_CODE'] - Flash player HTML code (DO NOT CHANGE,IF YOU DON'T KNOW THIS).

$SLIDECRAB_SETTING['ENCODE_MODE'] - Caption encode mode , default is "iso-8859-1",(DO NOT CHANGE,IF YOU DON'T KNOW THIS).

Warning: Following setting can be set in program for individual slide show.

Caption bar setting

$SLIDECRAB_CONFIGURATION['CAPTION_BAR_HEIGHT'] - Caption bar's Height (unit:pixel).

$SLIDECRAB_CONFIGURATION['CAPTION_BAR_BOTTOM'] - Caption bar's bottom position (unit:pixel).

$SLIDECRAB_CONFIGURATION['CAPTION_BAR_COLOR'] -Caption bar's color (#RRGGBB).

$SLIDECRAB_CONFIGURATION['CAPTION_BAR_ALPHA'] - Caption bar's alpha (transparency) (0=invisible,1-99=transparency,100=solid).

$SLIDECRAB_CONFIGURATION['CAPTION_TXT_COLOR'] - Caption text color (#RRGGBB) .


Slide show setting


$SLIDECRAB_CONFIGURATION['SLIDE_BUTTON_POS'] - Navigate button type and position. setting as following:

  • 0 - No navigate button
  • 1 - Individual image navigate button (upper left corner)
  • 2 - Individual image navigate button (upper right corner)
  • 3 - Individual image navigate button (lower left corner)
  • 4 - Individual image navigate button (lower right corner)
  • 5 - Previous/Next jump button (upper left corner)
  • 6 - Previous/Next jump button (upper right corner)
  • 7 - Previous/Next jump button (lower left corner)
  • 8 - Previous/Next jump button (lower right corner)


$SLIDECRAB_CONFIGURATION['SLIDE_EFFECT'] - Slide effect for each images (0=No,1=Yes)

$SLIDECRAB_CONFIGURATION['SLIDE_SEC'] - Slide Second (unit: second)


Water mark setting

$SLIDECRAB_CONFIGURATION['WATERMARK_URL'] - Water mark image's URL

$SLIDECRAB_CONFIGURATION['WATERMARK_TOP_POS'] - Watermark's upper left corner position: the pixel of from the top of image.(unit:pixel).

$SLIDECRAB_CONFIGURATION['WATERMARK_LEFT_POS'] - Watermark's upper left corner position: the pixel of from the left of image.(unit:pixel).

$SLIDECRAB_CONFIGURATION['WATERMARK_ALPHA'] - Water mark's alpha (transparency) (0=invisible,1-99=transparency,100=solid)

Slide buttons color setting

$SLIDECRAB_CONFIGURATION['BUTTON_COLOR'] - Slide button's color

$SLIDECRAB_CONFIGURATION['BUTTON_HOVER_COLOR']
- Slide button's color WHEN mouse point on it.

$SLIDECRAB_CONFIGURATION['BUTTON_SELECTED_COLOR']
- Slide button's color WHEN selected

Image folder path setting

$SLIDECRAB_CONFIGURATION['IMGBASE_PATH'] - Image folder base path, this parameter is transfered with 2-levels encryption, it's the best way to hide your real image path. (Please see also chapter 2.5 Image Base)

Default setting for each image

$SLIDECRAB_CONFIGURATION['AUTO_RESIZE'] - Make all images fit on slide size automatically (0-No,1-Yes)


Please do not change all files name and location.Otherwise SlideCrab can not run normally.



<Prev
Registration
Next>
setSize