//*
function getCMSFields() {
$fields = parent::getCMSFields();
/*
* Add extra basic fields to the CMS + Extra Tab
* $newFieldsArray = list of fields need to be added to tab
* $newFieldsArray MUST be used to add array of fields as fields need to be declared before they can be added to a tab !
*/

// Settings Tab
$newFieldsArray = array(
new UploadField("CoverImage"),
new TextareaField("GalleryDesc"),
new TextField("setPlugin"),
// new DropdownField('ResizeMethod', 'ResizeMethod', singleton($this)->dbObject('ResizeMethod')->enumValues()),
new TextField('ItemsPerPage'),
new TextField('ThumbnailImageWidth'),
new TextField('ThumbnailImageHeight'),
new TextField('FullImageWidth'),
new TextField('FullImageHeight')
);