public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['dimensions'] = array('default' => array('text' => trlKwfStatic('default'), 'width' => 16, 'height' => 16, 'cover' => false));
     $ret['componentName'] = trlcKwfStatic('Flag of a Country', 'Flag');
     return $ret;
 }
 public static function getSettings($param = null)
 {
     $ret = parent::getSettings($param);
     $ret['ownModel'] = 'Kwc_ImageResponsive_CreatesImgElement_Components_Image_TestModel';
     $ret['dimensions'] = array('default' => array('width' => 300, 'height' => 200, 'cover' => true), 'fullWidth' => array('text' => trlKwfStatic('full width'), 'width' => self::CONTENT_WIDTH, 'height' => 0, 'cover' => true), 'original' => array('text' => trlKwfStatic('original')), 'custom' => array('text' => trlKwfStatic('user-defined'), 'width' => self::USER_SELECT, 'height' => self::USER_SELECT, 'cover' => true));
     return $ret;
 }
 public static function getSettings($param = null)
 {
     $ret = parent::getSettings($param);
     $ret['assetsAdmin']['files'][] = 'kwf/Kwc/Basic/ImageParentEditable/ImageUploadField.js';
     $ret['assetsAdmin']['files'][] = 'kwf/Kwc/Basic/ImageParentEditable/ImageFile.js';
     return $ret;
 }
 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['ownModel'] = 'Kwc_ImageResponsive_MediaOutput_Image_TestModel';
     $ret['dimensions'] = array('default' => array('width' => 200, 'height' => 200, 'cover' => true), 'default2' => array('text' => 'Default2', 'width' => 100, 'height' => 100, 'cover' => true));
     return $ret;
 }
Exemple #5
0
 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['componentName'] = trlKwfStatic('Image');
     $ret['dimensions'] = array('default' => array('text' => trlKwfStatic('default'), 'width' => 1800, 'height' => 1200, 'cover' => false));
     $ret['altText'] = false;
     return $ret;
 }
Exemple #6
0
 public static function getSettings($masterImageComponentClass)
 {
     $ret = parent::getSettings($masterImageComponentClass);
     $ret['ownModel'] = 'Kwc_Abstract_Image_Trl_Image_Model';
     //dimesion wird autom. vom master verwendet
     $ret['masterImageComponentClass'] = $masterImageComponentClass;
     return $ret;
 }
 public static function getSettings($param = null)
 {
     $ret = parent::getSettings($param);
     $ret['componentName'] = trlKwfStatic('Image');
     $ret['componentIcon'] = 'picture';
     $ret['emptyImage'] = false;
     // eg. 'Empty.jpg' in same folder
     return $ret;
 }
 public static function getSettings($param = null)
 {
     $ret = parent::getSettings($param);
     $ret['ownModel'] = 'Kwc_Abstract_Image_Trl_Image_Model';
     //dimesion wird autom. vom master verwendet
     $ret['masterImageComponentClass'] = $param;
     $ret['editFilename'] = false;
     $ret['altText'] = false;
     $ret['titleText'] = false;
     return $ret;
 }
 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['componentName'] = trlKwfStatic('Open Graph') . ' ' . trlKwfStatic('Image');
     $ret['imageLabel'] = trlKwfStatic('Open Graph') . ' ' . trlKwfStatic('Image');
     $ret['dimensions'] = array('default' => array('text' => trlKwfStatic('default'), 'width' => 1800, 'height' => 1200, 'cover' => false));
     $ret['altText'] = false;
     $ret['editFilename'] = false;
     $ret['titleText'] = false;
     $ret['imageCaption'] = false;
     return $ret;
 }
 public static function getSettings($param = null)
 {
     $ret = parent::getSettings($param);
     $ret['dimensions'] = array('default' => array('text' => trlKwfStatic('default'), 'width' => 90, 'height' => 120, 'cover' => true));
     return $ret;
 }
 public static function getSettings($param = null)
 {
     $ret = parent::getSettings($param);
     $ret['dimensions'] = array('fullwidth' => array('text' => trlKwfStatic('full width'), 'width' => self::CONTENT_WIDTH, 'height' => 0, 'cover' => true));
     return $ret;
 }