sachatrauwaen / OpenContent

Structured Content editing for DNN (Dotnetnuke)
46 stars 25 forks source link

Image Cropper treats .Jpeg files as BMP #184

Closed Timo-Breumelhof closed 2 years ago

Timo-Breumelhof commented 2 years ago

When using the option to generate a cropped image using the imageX field, when the file has an .JPEG (so not .JPG) extension, the cropped files are saved as a BMP with .JPEG extension. Also they are larger in size (MB's) than the JPEG they were intended to be.

The issue is this check: https://github.com/sachatrauwaen/OpenContent/blob/e9de4aecf5e974df8b3bac41d26555080b02e249/OpenContent/Components/DnnEntitiesAPIController.cs#L529

Timo-Breumelhof commented 2 years ago

Also: https://github.com/sachatrauwaen/OpenContent/blob/e9de4aecf5e974df8b3bac41d26555080b02e249/OpenContent/Components/DnnEntitiesAPIController.cs#L660

sachatrauwaen commented 2 years ago

fixed and will be released in next version