For security reasons, my Web host uses PHP-CGI to execute all PHP scripts instead of Apache's mod_php. This makes all PHP scripts run as the individual user, not as a generic user. I have changed all directories to 755 because of this, and everything within 4images is working fine. I am able to add pictures, change settings, etc.
However, when I add images, 4images creates the new directory with 777 permissions. This is not necessary because of my Web host's setup. How do I change this? I do not want to have to manually change permissions every time I upload pictures.