Fix image type not being set after conversion for convertible image types (#20624)
This commit is contained in:
		
							parent
							
								
									3cc5ed3bae
								
							
						
					
					
						commit
						2018fe879c
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -82,6 +82,7 @@ class MediaAttachment < ApplicationRecord
 | 
			
		|||
  IMAGE_CONVERTED_STYLES = {
 | 
			
		||||
    original: {
 | 
			
		||||
      format: 'jpeg',
 | 
			
		||||
      content_type: 'image/jpeg',
 | 
			
		||||
    }.merge(IMAGE_STYLES[:original]).freeze,
 | 
			
		||||
 | 
			
		||||
    small: {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue