set width and height from $modx->config/2