Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation (sample data). Some category pictures are missing #7471

Open
AndreiMaz opened this issue Dec 29, 2024 · 0 comments · May be fixed by #7482
Open

Installation (sample data). Some category pictures are missing #7471

AndreiMaz opened this issue Dec 29, 2024 · 0 comments · May be fixed by #7482
Assignees
Labels

Comments

@AndreiMaz
Copy link
Member

AndreiMaz commented Dec 29, 2024

nopCommerce version: 4.80.1

Steps to reproduce the problem:

  1. Install nopCommerce with sample data
  2. The following category pictures are missing: clothing, shoes, cell-phones, camera-photo

Check log for more details:
Error text: Cannot decode picture binary (file name: clothing)
Full message
System.ArgumentNullException: Value cannot be null. (Parameter 'codec')
at SkiaSharp.SKBitmap.Decode(SKCodec codec)
at SkiaSharp.SKBitmap.Decode(ReadOnlySpan`1 buffer)
at SkiaSharp.SKBitmap.Decode(Byte[] buffer)
at Nop.Services.Media.PictureService.ValidatePictureAsync(Byte[] pictureBinary, String mimeType, String fileName)

Files are named .jpeg not .jpg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants