AdaptiveImages.Cumulus 2.0.9.4
Cumulus for Adaptive Images
Invoke something like the following after Adaptive Images has been initialized:
// Create provider
var cumulusImageProvider = new CumulusImageProvider("cumulus", () => LocalizationService.Current.GetString("/ImageProviders/Cumulus/DisplayName"), new CumulusSettings
{
ApiBaseAddress = "http://cumulus-server/CIP/",
AuthenticationHeader = "Base xxxxxxxxxxxxxxxxxxxx", // Base64 encoded 'username:password'
MaxUploadSize = 500000000,
Catalog = "MyCatalog",
Locale = "sv-SE",
View = "fields",
ProxyUrl = null
});
// Add at least one option
cumulusImageProvider.Options.Add(new CumulusProviderOption("$Categories:MyCategory", () => localization.GetString("/Categories/CategoryName"), ImageProviderOptionCapability.Search, 10));
// Add option with filters (optional)
var anotherOption = new CumulusProviderOption("$Categories:MyOtherCategory", () => localization.GetString("/Categories/OtherCategoryName"), ImageProviderOptionCapability.List | ImageProviderOptionCapability.Search, 20);
anotherOption.SearchFilters.Add(new CumulusFieldFilter
{
Field = new CumulusField("abc123-ab12-ab12-abcde12345", "Some Field"), // Cumulus field key/UID and optional name
Value = true
});
cumulusImageProvider.Options.Add(anotherOption);
// Register the image provider
ImageProviderFactory.Add(cumulusImageProvider);
Rebuild and reload the Optimizely UI and search among Cumulus images using the "Image bank" component in the right pane.
If this is the only search-enabled image provider, you may need to click Reset views in user settings to make the image bank component visible.
Changelog
Version | Summary |
---|---|
2.0.0.0 | .NET 5 / CMS 12 support |
No packages depend on AdaptiveImages.Cumulus.
Improvements to features, performance, compatibility, and/or stability.
.NET 6.0
- AdaptiveImages (>= 2.0.9.4)
.NET 7.0
- AdaptiveImages (>= 2.0.9.4)
.NET 8.0
- AdaptiveImages (>= 2.0.9.4)
Version | Downloads | Last updated |
---|---|---|
2.0.9.4 | 18 | 01/31/2024 |
2.0.9.3 | 48 | 01/15/2024 |
2.0.7.64 | 13 | 09/25/2023 |
2.0.7.55 | 59 | 05/15/2023 |
2.0.7.46 | 28 | 04/18/2023 |
2.0.7.38 | 23 | 04/12/2023 |
2.0.7.34 | 18 | 03/29/2023 |
2.0.7.31 | 17 | 03/23/2023 |
2.0.7.27 | 21 | 03/20/2023 |
2.0.7.9 | 73 | 11/10/2022 |
2.0.6.24 | 47 | 09/20/2022 |
2.0.6.23 | 46 | 09/14/2022 |
2.0.6.22 | 41 | 09/06/2022 |
2.0.6.19 | 50 | 08/18/2022 |
2.0.6.18 | 47 | 08/17/2022 |
2.0.5.8 | 44 | 06/01/2022 |
2.0.5.2 | 54 | 05/05/2022 |
2.0.5.1 | 56 | 04/20/2022 |
2.0.4.41 | 44 | 04/12/2022 |
2.0.4.31 | 107 | 03/01/2022 |
2.0.4.26 | 132 | 02/16/2022 |
2.0.4.23 | 52 | 02/15/2022 |
2.0.4.18 | 63 | 02/10/2022 |
2.0.4.9 | 53 | 02/10/2022 |
2.0.4.7 | 64 | 02/06/2022 |
2.0.4.6 | 66 | 02/03/2022 |
2.0.3.7 | 63 | 01/26/2022 |
2.0.2.31 | 56 | 01/12/2022 |
2.0.2.30 | 53 | 01/11/2022 |
2.0.2.29 | 87 | 01/06/2022 |
2.0.2.28 | 51 | 01/05/2022 |
2.0.2.16 | 71 | 12/13/2021 |
2.0.2.15 | 136 | 12/10/2021 |
2.0.2.12 | 68 | 12/03/2021 |