adding block to image