fix imgproxy using fill resizes rather than fit
This commit is contained in:
		
							parent
							
								
									1ee3d6aa0a
								
							
						
					
					
						commit
						2fbd4f8066
					
				@ -114,7 +114,7 @@ export const createImgproxyUrls = async (id, text, { forceFetch }) => {
 | 
			
		||||
    imgproxyUrls[url] = {}
 | 
			
		||||
    for (const res of resolutions) {
 | 
			
		||||
      const [w, h] = res.split('x')
 | 
			
		||||
      const processingOptions = `/rs:fill:${w}:${h}`
 | 
			
		||||
      const processingOptions = `/rs:fit:${w}:${h}`
 | 
			
		||||
      imgproxyUrls[url][`${w}w`] = createImgproxyUrl(url, processingOptions)
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user