Fixed some problems. Added post options for height and width