Updated config to support image resizing on the fly