diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2022-11-14 07:13:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-14 07:13:14 +0100 |
commit | 5c826c408db86c3b4abf4959c092ad4c5c807896 (patch) | |
tree | 1e53b9393d9dd589cc71e6a38ce85c66dccc3e82 | |
parent | 167d86d21dbd8dab120555e12c2a3a5e5432d632 (diff) |
Fix image type not being set after conversion for convertible image types (#20624)
-rw-r--r-- | app/models/media_attachment.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/media_attachment.rb b/app/models/media_attachment.rb index 7aa8658d9..d2bdc55f0 100644 --- a/app/models/media_attachment.rb +++ b/app/models/media_attachment.rb @@ -82,6 +82,7 @@ class MediaAttachment < ApplicationRecord IMAGE_CONVERTED_STYLES = { original: { format: 'jpeg', + content_type: 'image/jpeg', }.merge(IMAGE_STYLES[:original]).freeze, small: { |