improve make_html_img.pl