Do you know to create a Custom Library Provider?
Updated by Brady Stroud [SSW] 5 months ago. See history
123
If you need to create a custom CDN library provider... Sitefinity manages images, videos, and content on a file system which the website uses. For larger sites, CDN providers are used for all content that doesn’t need to be on the servers. Make a new class that inherits from Telerik.Sitefinity.Modules.Libraries.BlobStorage.CloudBlobStorageProvider and override all the methods.
You want to save the items to a local path but show an external URL on the actual page.
Once you have made your class then you need to register it in Sitefinity, open the config file “App_Data\Sitefinity\Configuration\LibrariesConfig.config” in notepad and register your Class
<?xml version="1.0" encoding="utf-8"?><librariesConfig xmlns:config="urn:telerik:sitefinity:configuration" xmlns:type="urn:telerik:sitefinity:configuration:type" config:version="5.1.3270.0"><blobStorage defaultProvider="CDN"><providers><remove name="FileSystem" /><add type="SSW.Sitefinity.Modules.Libraries.BlobStorage.CdnBlobStorageProvider" enabled="True" name="CDN" /></providers></blobStorage></librariesConfig>