I'm not sure what you mean about 'have the form post to the static server'.
As for the file locations, there are a couple of things you can do to make the file locations flexible. I would highly recommend defining a constant for the location of these files:
define('IMAGE_FILE_DIRECTORY', '/var/www/some/server/directory');
And then all you have to do is store a filename in the database. When you fetch a $record from the database, you can get its file location like this:
$file_location = IMAGE_FILE_DIRECTORY . DIRECTORY_SEPARATOR . $record['image_filename'];
If you change the location of the images to some other hard drive, you just redefine the constant to the new location.
NOTE: if you put all the images in the same directory, they have to all have different names. You should either a) guarantee that filenames are unique or b) come up with some kind of scheme to separate them into folders. If they go into folders, you either need an algorithm to determine the folder name from some data, or you need to store that partial folder in the db too.