display picture in the middle of block