public MediaServiceFileSystemAdapter( IMediaService mediaService, IFolderService folderService, MediaHelper mediaHelper, MediaExceptionFactory exceptionFactory) { _mediaService = mediaService; _folderService = folderService; _mediaHelper = mediaHelper; _storageProvider = mediaService.StorageProvider; _exceptionFactory = exceptionFactory; _mediaRootPath = MediaFileSystem.GetMediaPublicPath(); }
static PictureService() { _processedImagesRootPath = MediaFileSystem.GetMediaPublicPath() + "image/"; _fallbackImagesRootPath = "content/images/"; }
static MediaUrlGenerator() { _processedImagesRootPath = MediaFileSystem.GetMediaPublicPath(); _fallbackImagesRootPath = "content/images/"; }