public IEnumerable <Resource> Convert(Item source, IEnumerable <Resource> destination, ResolutionContext context) { var resources = new List <Resource>(); var attachments = context.GetAttachments(); var siteUrl = context.GetSiteUrl(); resources.AddRange(GetBannerResources(source, siteUrl, attachments)); resources.AddRange(GetImageGalleryResources(source, siteUrl, attachments)); //other image resources (inline images) are added by the ImageReplacer-class (because it's easier to parse Markdown than HTML) return(resources.ToArray()); }