added ability to set height/width independent of pic