feature 1448 added: ability to set the upload directory (for pwg.images.add API method).
Warning: due to risk on img src construction, the upload_dir must be relative to the Piwigo directory itself.