Allow image directory to be configured per app

Since some developers might want different conventions for the image directory, such as "img".