diff --git a/ManagerService/Controllers/ResourceController.cs b/ManagerService/Controllers/ResourceController.cs index 6fabe90..f36303d 100644 --- a/ManagerService/Controllers/ResourceController.cs +++ b/ManagerService/Controllers/ResourceController.cs @@ -236,7 +236,7 @@ namespace ManagerService.Controllers { var stringResult = ""; double fileSizeibMbs = (double) ((double)file.Length) / (1024*1024); - if (fileSizeibMbs <= 4.01) + if (fileSizeibMbs <= 4.01 || resourceType == ResourceType.Image) { using (var ms = new MemoryStream()) {