After upgrading a solution running 9.8.9 with Dynamicweb.Imaging 6.0.0 or 6.1.0 i get the following error.
/Admin/Public/GetImage.ashx?Image=/Files/Images/123.png&Width=940&Crop=5&quality=100&Format=png
[NullReferenceException: Object reference not set to an instance of an object.] Dynamicweb.Imaging.Image.GetSizeFromFile(String filePath) +74 Dynamicweb.Imaging.Image.GetDimensions(String filePath) +15 Dynamicweb.Admin.ProcessImageHandler.GetParameters() in E:\agent\_work\144\s\01 - Applications\Dynamicweb.Admin\DW98\Dynamicweb.Admin\Admin\Public\GetImage.ashx.vb:222 Dynamicweb.Admin.ProcessImageHandler.ProcessRequest(HttpContext context) in E:\agent\_work\144\s\01 - Applications\Dynamicweb.Admin\DW98\Dynamicweb.Admin\Admin\Public\GetImage.ashx.vb:204 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +789 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +194 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87
The image does exist and i am able to retrieve the image without using GetImage.
I need to use this version of the imaging, as it has the PdfRendererProvider, which i need for my project.