associate with picture functionality

still in progress