The error is saying that the images/petsLarge/ and images/petsThumb/ directories do not exist on the host, and the permission level is not allowing the script to create those directories.
Make sure that the upload folders have been created on the server, also make sure that they are given Read and Write permission for all users.