function __construct() { parent::__construct(); $this->mData = array('externalImages' => array(), 'feedTitle' => '', 'hash' => false, 'id' => false, 'images' => array(), 'imagesShown' => array(), 'params' => array()); // allows galleries to take up the full width of a page $this->mPerRow = 0; // defaults $this->mCrop = false; $this->mShowRecentUploads = false; $this->mShowAddButton = true; // list of supported gallery parameters with list of valid values // default are the first values, false for params with no defined list of values (colors, etc) $this->mAvalaibleGalleryParams = array('bordercolor' => false, 'bordersize' => array('small', 'medium', 'large', 'none'), 'captionalign' => array('left', 'center', 'right'), 'captionposition' => array('below', 'within'), 'captionsize' => array('medium', 'small', 'large'), 'captiontextcolor' => false, 'rssfeed' => false, 'orientation' => array('none', 'square', 'portrait', 'landscape'), 'position' => array('left', 'center', 'right'), 'spacing' => array('medium', 'large', 'small'), 'buckets' => false, 'rowdivider' => false, 'hideoverflow' => false, 'sliderbar' => array('bottom', 'left')); }