Esempio n. 1
0
        async void DataService_DataAvailable(Services.Model.RijksDataModel model)
        {
            ModelUpdated(model);

            //Download and Save new image
            //http://rijksmuseum.nl/assetimage.jsp?id=SK-A-1610&widget/size260&r1969
            //string url = model.Path + model.ObjectId + "&widget/size260";

            //Get image url
            IRijksClient rijksClient = new RijksClient("EWkwIpWi");
            var          obj         = await rijksClient.GetCollectionDetails(model.ObjectId);

            var url = obj.ArtObject.WebImage.Url;

            url = url.Replace("=s0", "=s720-c");

            imageService.Read(url);
        }
 void DataService_DataAvailable(Services.Model.RijksDataModel model)
 {
     ModelUpdated(model);
 }