set ht of image