set thumbnail image in edit view