set image ht and width