<?php

$config = array();
$config['name'] = "Picture Gallery";
$config['author'] = "Microweber";
$config['no_cache'] = false;
$config['ui'] = true;
$config['categories'] = "media";
$config['version'] = 1.11;
$config['position'] = 4;
$config['is_system'] = true;

//$config['settings'] = array();
//
//$config['settings'][]  = array(
//    'type'=>'live_edit_button',
//    'title'=>'Add',
//    'view'=>'quick_add_live_edit',
//);



$options = array();
$option = array();

$option['option_key'] = 'thumbnail_size';
$option['name'] = 'Thumbnail Size';
$option['help'] = 'Example: 300x200 (width x height). Leave empty for original size';
$option['option_value'] = 'original';
$option['position'] = '3';
$option['field_type'] = 'text';
//$option['field_values'] = array('y' => 'yes', 'n' => 'no');
$config['options'][] = $option;


$option = array();

$option['option_key'] = 'image_link';
$option['name'] = 'Enable image link';
$option['help'] = 'If yes, the users will be able to click on the image';
$option['option_value'] = 'y';
$option['position'] = '3';
$option['field_type'] = 'dropdown';
$option['field_values'] = array('y' => 'yes', 'n' => 'no');
$config['options'][] = $option;


