Add displayImageThumbOrDetail.