Index: trunk/kernel/include/image.php =================================================================== diff -u -r649 -r686 --- trunk/kernel/include/image.php (.../image.php) (revision 649) +++ trunk/kernel/include/image.php (.../image.php) (revision 686) @@ -256,6 +256,7 @@ if(file_exists($d)) unlink($d); copy($ThumbPath,$d); + @chmod($ThumbPath.$d, 0666); } } @@ -268,7 +269,8 @@ $d = $dest.$p["basename"]; if(file_exists($d)) unlink($d); - copy($FullPath,$d); + copy($FullPath,$d); + @chmod($FullPath.$d, 0666); } } } @@ -299,7 +301,7 @@ unlink($d); copy($pathtoroot.$ThumbPath,$d); - + @chmod($pathtoroot.$ThumbPath.$d, 0666); unlink($pathtoroot.$ThumbPath); } @@ -319,7 +321,8 @@ if(file_exists($d)) unlink($d); - copy($pathtoroot.$FullPath,$d); + copy($pathtoroot.$FullPath,$d); + @chmod($pathtoroot.$FullPath.$d, 0666); unlink($pathtoroot.$FullPath); } }