switching to html to control image size