Index: branches/RC/core/units/images/images_config.php =================================================================== diff -u -N -r10028 -r10720 --- branches/RC/core/units/images/images_config.php (.../images_config.php) (revision 10028) +++ branches/RC/core/units/images/images_config.php (.../images_config.php) (revision 10720) @@ -106,11 +106,12 @@ 'LocalImage' => Array('type'=>'int', 'default' => 1, 'not_null'=>1), 'LocalPath' => Array('type' => 'string', 'formatter'=>'kPictureFormatter', 'skip_empty'=>1, 'max_len'=>240, 'default' => '', 'not_null' => 1, 'include_path' => 1, 'allowed_types' => Array( - 0 => 'image/jpeg', - 1 => 'image/pjpeg', - 2 => 'image/png', - 3 => 'image/gif', - 4 => 'image/bmp' + 'image/jpeg', + 'image/pjpeg', + 'image/png', + 'image/x-png', + 'image/gif', + 'image/bmp' ), 'error_msgs' => Array( 'bad_file_format' => '!la_error_InvalidFileFormat!', 'bad_file_size' => '!la_error_FileTooLarge!', @@ -123,11 +124,12 @@ 'Priority' => Array('type'=>'int', 'default' => 0, 'not_null'=>1), 'ThumbPath' => Array('type' => 'string', 'formatter'=>'kPictureFormatter', 'skip_empty'=>1, 'max_len' => 255, 'default' => null, 'allowed_types' => Array( - 0 => 'image/jpeg', - 1 => 'image/pjpeg', - 2 => 'image/png', - 3 => 'image/gif', - 4 => 'image/bmp' + 'image/jpeg', + 'image/pjpeg', + 'image/png', + 'image/x-png', + 'image/gif', + 'image/bmp' ), 'error_msgs' => Array( 'bad_file_format' => '!la_error_InvalidFileFormat!', 'bad_file_size' => '!la_error_FileTooLarge!',