html reformat and large image store