{%- set params = { 'width': widget.width, 'height': widget.height, 'resize_mode': widget.resize_mode|upper, } %}