AdaptiveImages.Pixabay 2.0.7.46
Pixabay for Adaptive Images
Enable by invoking AddPixabay(apiKey)
on startup, commonly in Startup.cs
:
public void ConfigureServices(IServiceCollection services)
{
services.AddCms()
.AddAdaptiveImages()
.AddPixabay(apiKey); // Enable the Pixabay image provider
}
Rebuild and reload the Optimizely UI and search among Pixabay 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.Pixabay.
Width and height attributes when rendering SingleImage. Improvements to features, performance, compatibility, and/or stability.
.NET 6.0
- AdaptiveImages (>= 2.0.7.46)
- System.Runtime.Caching (>= 5.0.0)
.NET 7.0
- AdaptiveImages (>= 2.0.7.46)
- System.Runtime.Caching (>= 5.0.0)