public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['ownModel'] = 'Kwc_Basic_Image_TestModel';
     $ret['dimensions'] = array('original' => array('width' => 0, 'height' => 0), 'small' => array('width' => 100, 'height' => 100, 'cover' => true), 'medium' => array('width' => 200, 'height' => 200, 'cover' => true), 'large' => array('width' => 300, 'height' => 300, 'cover' => true), 'userWidth' => array('width' => Kwc_Abstract_Image_Component::USER_SELECT, 'height' => 300, 'cover' => true), 'userHeight' => array('width' => 300, 'height' => Kwc_Abstract_Image_Component::USER_SELECT, 'cover' => true), 'userSize' => array('width' => Kwc_Abstract_Image_Component::USER_SELECT, 'height' => Kwc_Abstract_Image_Component::USER_SELECT, 'cover' => true));
     return $ret;
 }
Пример #2
0
 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['componentName'] = trlKwfStatic('Image small');
     $ret['dimensions'] = array(array('width' => 140, 'height' => 140, 'cover' => true));
     return $ret;
 }
 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['ownModel'] = 'Kwc_Composite_Images_Image_TestModel';
     $ret['dimensions'] = array(array('width' => 100, 'height' => 100, 'cover' => true));
     return $ret;
 }
Пример #4
0
 public static function getSettings($param = null)
 {
     $ret = parent::getSettings($param);
     $ret['dimensions']['default'] = array('text' => trlKwfStatic('default'), 'width' => 100, 'height' => 75, 'cover' => false);
     $ret['defineWidth'] = true;
     return $ret;
 }
Пример #5
0
 public static function getSettings($param = null)
 {
     $ret = parent::getSettings($param);
     $ret['generators']['child']['component']['large'] = 'Kwc_List_Switch_Preview_Large_Component';
     $ret['dimensions'] = array('default' => array('width' => 100, 'height' => 75, 'cover' => true));
     return $ret;
 }
Пример #6
0
 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['ownModel'] = 'Kwc_Trl_Image_Image_TestModel';
     $ret['dimensions'] = array('default' => array('text' => trlKwfStatic('default'), 'width' => 120, 'height' => 120, 'cover' => false));
     return $ret;
 }
Пример #7
0
 public static function getSettings($param = null)
 {
     $ret = parent::getSettings($param);
     $ret['componentName'] = trlKwfStatic('Carousel');
     $ret['dimensions'] = array('fullWidth' => array('text' => trlKwfStatic('full width'), 'width' => self::CONTENT_WIDTH, 'height' => 337, 'cover' => true));
     return $ret;
 }
Пример #8
0
 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['ownModel'] = 'Kwc_ImageResponsive_InScrollDiv_Components_Image_TestModel';
     $ret['dimensions'] = array('default' => array('width' => 300, 'height' => 200, 'cover' => true));
     return $ret;
 }
Пример #9
0
 public static function getSettings($param = null)
 {
     $ret = parent::getSettings($param);
     $ret['componentName'] = trlKwfStatic('Preview image');
     $ret['dimensions'] = array('default' => array('width' => self::CONTENT_WIDTH, 'height' => 0, 'cover' => true));
     return $ret;
 }
 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['ownModel'] = 'Kwc_Basic_Image_DprImage_TestModel';
     $ret['dimensions'] = array(array('width' => 32, 'height' => 32, 'cover' => false));
     return $ret;
 }
Пример #11
0
 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['dimensions'] = array(array('width' => 120, 'height' => 90, 'cover' => false));
     $ret['defineWidth'] = true;
     return $ret;
 }
Пример #12
0
 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['componentName'] = trlStatic('Logo');
     $ret['dimensions'] = array('default' => array('text' => trlKwf('full width'), 'width' => 0, 'height' => 100, 'cover' => true));
     return $ret;
 }
Пример #13
0
 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['dimensions'] = array('fullWidth' => array('text' => trlKwfStatic('full width'), 'width' => self::CONTENT_WIDTH, 'height' => 0, 'cover' => true));
     $ret['ownModel'] = 'Kwc_Basic_Image_CacheFullWidth_Image_TestModel';
     return $ret;
 }
Пример #14
0
 public static function getSettings($param = null)
 {
     $ret = parent::getSettings($param);
     $ret['componentName'] = trlKwfStatic('Favicon');
     $ret['dimensions'] = array(array('width' => 0, 'height' => 0, 'cover' => true));
     return $ret;
 }
 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['ownModel'] = 'Kwc_Basic_Image_TestModel';
     $ret['dimensions'] = array(array('width' => Kwc_Abstract_Image_Component::USER_SELECT, 'height' => Kwc_Abstract_Image_Component::USER_SELECT, 'cover' => true));
     return $ret;
 }
 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['dimensions'] = array('default' => array('text' => trlKwfStatic('full width'), 'width' => self::CONTENT_WIDTH, 'height' => 0, 'cover' => true), '16to9' => array('text' => trlKwfStatic('full width') . ' 16:9', 'width' => self::CONTENT_WIDTH, 'cover' => true, 'aspectRatio' => 9 / 16), '4to3' => array('text' => trlKwfStatic('full width') . ' 4:3', 'width' => self::CONTENT_WIDTH, 'cover' => true, 'aspectRatio' => 3 / 4));
     $ret['imageCaption'] = true;
     return $ret;
 }
 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['ownModel'] = 'Kwc_Basic_Image_TestModel';
     $ret['dimensions'] = array(array('width' => 100, 'height' => 100, 'cover' => true));
     $ret['editFilename'] = true;
     return $ret;
 }
Пример #18
0
 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['dimensions'] = array('default' => array('text' => 'default', 'width' => 10, 'height' => 0, 'cover' => true));
     $ret['ownModel'] = 'Kwc_Basic_Image_CacheParentImage_Image_TestModel';
     $ret['generators']['parentImage'] = array('class' => 'Kwf_Component_Generator_Static', 'component' => 'Kwc_Basic_Image_CacheParentImage_ParentImage_Component');
     return $ret;
 }
 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['ownModel'] = 'Kwc_Basic_Image_TestModel';
     $ret['emptyImage'] = 'empty.png';
     $ret['dimensions'] = array(array('width' => 16, 'height' => 16, 'cover' => true));
     return $ret;
 }
Пример #20
0
 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['imageLabel'] = trlKwfStatic('Thumbnail');
     $ret['dimensions'] = array('default' => array('text' => trlKwfStatic('default'), 'width' => 150, 'height' => 0, 'cover' => true));
     $ret['generators']['child']['component']['mailImage'] = 'Kwc_Articles_Detail_PreviewImage_Mail_Component';
     return $ret;
 }
Пример #21
0
 public static function getSettings($param = null)
 {
     $ret = parent::getSettings($param);
     $ret['componentName'] = trlKwfStatic('Background Image') . ' (' . trlKwfStatic('Optional') . ')';
     $ret['dimensions'] = array('fullWidth' => array('text' => trlKwfStatic('full width'), 'width' => 2560, 'height' => 0, 'cover' => true));
     $ret['altText'] = false;
     return $ret;
 }
Пример #22
0
 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['ownModel'] = 'Kwc_Basic_Image_TestModel';
     $ret['generators']['child'] = array('class' => 'Kwf_Component_Generator_Static', 'component' => 'Kwc_Basic_Image_ParentImageComponent_Child_Component');
     $ret['dimensions'] = array(array('width' => 100, 'height' => 100, 'cover' => true));
     return $ret;
 }
Пример #23
0
 public static function getSettings($param = null)
 {
     $ret = parent::getSettings($param);
     $ret['dimensions'] = array(array('width' => 120, 'height' => 90, 'cover' => false));
     $ret['defineWidth'] = true;
     $ret['flags']['assetsPackage'] = 'Default';
     return $ret;
 }
Пример #24
0
 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['componentName'] = trlKwfStatic('Background Image');
     $ret['dimensions'] = array('original' => array('text' => trlKwfStatic('Original'), 'width' => 0, 'height' => 0, 'cover' => true));
     $ret['assets']['dep'][] = 'ModernizrCssBackgroundsizecover';
     return $ret;
 }
Пример #25
0
 public static function getSettings($param = null)
 {
     $ret = parent::getSettings($param);
     $ret['componentName'] = trlKwfStatic('Avatar');
     $ret['dimensions'] = array(array('width' => 150, 'height' => 150, 'cover' => false));
     $ret['generators']['small'] = array('class' => 'Kwf_Component_Generator_Static', 'component' => 'Kwc_User_Detail_GeneralCommunity_Avatar_Small_Component');
     $ret['emptyImage'] = 'ghost.jpg';
     return $ret;
 }
Пример #26
0
 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['componentName'] = trlKwfStatic('Image Enlarge');
     $ret['componentIcon'] = 'imageEnlarge';
     $ret['generators']['child']['component']['linkTag'] = 'Kwc_Basic_ImageEnlarge_EnlargeTag_Component';
     $ret['generators']['child']['addUrlPart'] = false;
     $ret['assetsAdmin']['files'][] = 'kwf/Kwc/Basic/ImageEnlarge/ImageUploadField.js';
     $ret['rootElementClass'] = Kwf_Config::getValue('kwc.imageEnlarge.kwcClass');
     //default is showHoverIcon
     return $ret;
 }
Пример #27
0
 public static function getSettings($param = null)
 {
     $ret = parent::getSettings($param);
     $ret['dimensions'] = array(0, 0);
     return $ret;
 }
Пример #28
0
 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['dimensions'] = array('fullWidth' => array('text' => trlKwf('full width'), 'width' => 2560, 'height' => 700, 'cover' => true));
     return $ret;
 }
Пример #29
0
 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['ownModel'] = 'Kwc_ImageResponsive_CreatesImgElement_Components_Image_TestModel';
     return $ret;
 }
Пример #30
0
 public static function getSettings()
 {
     return array_merge(parent::getSettings(), array('allowBlank' => false, 'dimension' => array()));
 }