Index: trunk/kernel/units/images/images_config.php =================================================================== diff -u -N -r7867 -r7991 --- trunk/kernel/units/images/images_config.php (.../images_config.php) (revision 7867) +++ trunk/kernel/units/images/images_config.php (.../images_config.php) (revision 7991) @@ -81,7 +81,7 @@ 'ResourceId' => Array('type'=>'int', 'not_null'=>1, 'default' => 0), 'Url' => Array('max_len'=>255, 'default' => '', 'not_null'=>1), 'Name' => Array('max_len'=>255, 'required'=>1, 'not_null'=>1, 'default' => ''), - 'AltName' => Array('max_len'=>255, 'required'=>1, 'not_null'=>1), + 'AltName' => Array('max_len'=>255, 'required'=>1, 'not_null'=>1, 'default' => ''), 'ImageIndex' => Array('type'=>'int', 'default' => 0, 'not_null'=>1), 'LocalImage' => Array('type'=>'int', 'default' => 1, 'not_null'=>1), 'LocalPath' => Array('formatter'=>'kPictureFormatter', 'skip_empty'=>1, 'max_len'=>240, 'default' => '', 'not_null' => 1, 'include_path' => 1, @@ -99,9 +99,9 @@ ), 'Enabled' => Array('formatter'=>'kOptionsFormatter', 'use_phrases' => 1, 'options' => Array ( 1 => 'la_Enabled', 0 => 'la_Disabled' ), 'default' => 0, 'not_null'=>1), 'DefaultImg' => Array('type'=>'int', 'default' => 0, 'not_null'=>1), - 'ThumbUrl' => Array('max_len' => 255), + 'ThumbUrl' => Array('type' => 'string', 'max_len' => 255, 'default' => ''), 'Priority' => Array('type'=>'int', 'default' => 0, 'not_null'=>1), - 'ThumbPath' => Array( 'formatter'=>'kPictureFormatter', 'skip_empty'=>1, 'max_len' => 255, + 'ThumbPath' => Array( 'formatter'=>'kPictureFormatter', 'skip_empty'=>1, 'max_len' => 255, 'default' => '', 'allowed_types' => Array( 0 => 'image/jpeg', 1 => 'image/pjpeg',