Index: trunk/kernel/include/image.php =================================================================== diff -u -r289 -r640 --- trunk/kernel/include/image.php (.../image.php) (revision 289) +++ trunk/kernel/include/image.php (.../image.php) (revision 640) @@ -224,6 +224,7 @@ $result = copy($file["tmp_name"],$destination); if($result) { + @chmod($Dest_Dir.$filename, 0666); return $Dest_Dir.$filename; } else @@ -386,6 +387,7 @@ { $this->DeleteLocalImage(); move_uploaded_file($file,$this->Get("LocalPath")); + @chmod($this->Get("LocalPath"), 0666); } }