Updated code to read project image related values, e.g. max file size, from conf. Part of #981