Closed MichaelSamteladze closed 4 years ago
ASP.NET Core ignores IIS virtual directories. Use MapPath in Startup.cs instead.
I have upload directory for my website which is outside root directory of website. Upload directory servers images and all other type of files. All works fines, files can be downloaded, images can be viewed. When it comes to imageflow, I can still view images, the only problem is that resize function is not working.
Any solution for that?
@MichaelSamteladze May want to share some code to give us a better idea of your setup. You can see an example of this in the example Startup.cs. Note that this can be an external directory outside site root (or network path, if you're clever), such is my use case.
Images are not resizing when directory is registered as IIS virtual directory.