If you are getting following error with wordpress while uploading images.
The uploaded file could not be moved to /home/username/public_html/wordpress/wp-content/uploads
then please make sure that
safe_mode_gid=ON (in php.ini)
and check the permission of upload directory it should be 777 , if it is something different then change it to 777 with following command
chmod 777 wp-content/uploads
and issue will get resolved.