Directory configuration.
Fix image resize folder bug.