support additional image resizing mode