Support height and xdim image options
Add support for height/width options