Enable image auto size.