add image display code

add image display code