h5ai icon indicating copy to clipboard operation
h5ai copied to clipboard

Thumbnail generation fails for files with wrong or no filename extension

Open glubsy opened this issue 3 years ago • 0 comments

Problem:

  • When a file has the wrong filename extension, the thumbnail is not generated properly. For example: a JPEG file has the .mp4 extension, and vice versa.
  • When a file has no filename extension at all, no thumbnail is generated.

Solution:

  • Detect the actual file regardless of the file extension with mime types.

This is fixed by #769

glubsy avatar Nov 28 '20 20:11 glubsy