gallery reference insert