Private equity house Great Hill Partners has agreed to buy subscription-based stock media company Storyblocks.