Thread:Project:Support desk/subdirectories /images in mediawiki 1.9/reply

You probably need to set $wgHashedUploadDirectory to false. Read that page for more information.