Make ratio configurable in WMS single image