ImageSharp Not Resizing Images loaded from another server(virtual directory)
I'm using Umbraco 13 ,ImageSharp is not resizing images(loaded from virtual custom directory from another server).For images inside project's wwwroot folder ,ImageSharp works fine while changing query parameters.Any work around for this?
Here is code sample , how I'm rendering virtual images
var virDirImages = new FileServerOptions
{
FileProvider = new PhysicalFileProvider(@"\\server1\projectname\wwwroot\images"),
RequestPath = new PathString("/images"),
EnableDirectoryBrowsing = false
};
app.UseFileServer(virDirImages);
app.UseImageSharp();
app.UseStaticFiles();
ImageSharp Not Resizing Images loaded from another server(virtual directory)
I'm using Umbraco 13 ,ImageSharp is not resizing images(loaded from virtual custom directory from another server).For images inside project's wwwroot folder ,ImageSharp works fine while changing query parameters.Any work around for this?
Here is code sample , how I'm rendering virtual images
To make it works need to use FileSystemProvider
https://docs.umbraco.com/umbraco-cms/reference/configuration/filesystemproviders
is working on a reply...