set the miniView according to the format

set the miniView according to the format