(Reuters) - Photo management platform SmugMug said on Friday it has agreed to buy image and video-hosting website Flickr for an undisclosed amount.