MaxWidth & MaxHeight options are not available in Instructions in ImageResizer 3.4.2 [closed]

StackOverflow https://stackoverflow.com/questions/20441439

  •  30-08-2022
  •  | 
  •  

문제

Can you please tell me when I use Instructions class in place of ResizeSettings how to use MaxWidth & MaxHeight.

Thanks in advance.

Mohammad

도움이 되었습니까?

해결책

Use mode=max with width and height instead.

maxwidth & maxheight are still supported in the URL API (and through Instructions["maxwidth"]), but to encourage use of the more consistent width/height/mode syntax we omitted the convenience property.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top