diff --git a/Controllers/ShopImageController.cs b/Controllers/ShopImageController.cs index 4ff190f..8cd7940 100644 --- a/Controllers/ShopImageController.cs +++ b/Controllers/ShopImageController.cs @@ -627,7 +627,8 @@ private async Task GenerateItemCard(ShopEntry shopEntry) } using var resizedImageBitmap = - shopEntry.Image.Resize(new SKImageInfo(resizeWidth, resizeHeight), SKSamplingOptions.Default); + shopEntry.Image.Resize(new SKImageInfo(resizeWidth, resizeHeight), SKSamplingOptions.Default) ?? + shopEntry.Image; // Car bundles get centered in the middle of the card vertically if (shopEntry.ImageType == "car-bundle")